cvs: smarty /docs getting-started.sgml
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1060270662@cvsserver> |
mohrt Thu Aug 7 11:37:42 2003 EDT
Modified files:
/smarty/docs getting-started.sgml
Log:
add core to example, add tech note
Index: smarty/docs/getting-started.sgml
diff -u smarty/docs/getting-started.sgml:1.21 smarty/docs/getting-started.sgml:1.22
--- smarty/docs/getting-started.sgml:1.21 Thu Aug 7 11:27:42 2003
+++ smarty/docs/getting-started.sgml Thu Aug 7 11:37:42 2003
@@ -183,13 +183,20 @@
You will need as least one file under your document root, and that is the
script accessed by the web browser. We will call our script "index.php",
and place it in a subdirectory under the document root called
- "/guestbook/". It is convenient to setup the web server so that "index.php"
- can be identified as the default directory index, so if you access
+ "/guestbook/".
+ </para>
+
+ <note>
+ <title>Technical Note</title>
+ <para>
+ It is convenient to setup the web server so that "index.php" can be
+ identified as the default directory index, so if you access
"http://www.mydomain.com/guestbook/", the index.php script will be executed
without "index.php" in the URL. In Apache you can set this up by adding
"index.php" onto the end of your DirectoryIndex setting (separate each
entry with a space.)
</para>
+ </note>
<para>
Lets take a look at the file structure so far:
@@ -202,6 +209,7 @@
/usr/local/lib/php/Smarty/Smarty_Compiler.class.php
/usr/local/lib/php/Smarty/Config_File.class.php
/usr/local/lib/php/Smarty/debug.tpl
+/usr/local/lib/php/Smarty/core/*.php
/usr/local/lib/php/Smarty/plugins/*.php
/web/www.mydomain.com/smarty/guestbook/templates/
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php