From 49b2a7dcd4abe27d5ad635129d51fe2ae6dc4cb4 Mon Sep 17 00:00:00 2001 From: mohrt Date: Thu, 7 Aug 2003 15:37:42 +0000 Subject: [PATCH] add core to example, add tech note --- docs/getting-started.sgml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.sgml b/docs/getting-started.sgml index da1bec44..fdf6bb5c 100644 --- a/docs/getting-started.sgml +++ b/docs/getting-started.sgml @@ -183,13 +183,20 @@ $smarty = new Smarty; 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/". + + + + Technical Note + + 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.) + Lets take a look at the file structure so far: @@ -202,6 +209,7 @@ $smarty = new Smarty; /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/