[SMARTY] Directories
| From: | Felix | Date: | Sat, 08 Feb 2003 22:32:24 +0000 |
| Subject: | [SMARTY] Directories | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7601@lists.php.net to get a copy of this message | ||
Hello!
I've just installed smarty into the directories www.domain.com/include/,
www.domain.com/include/templates/, www.domain.com/include/templates_c/ etc. !
I took the example file that is included in the smarty.zip. It works fine. But if I move it to
www.domain.com/ it doesn't work anymore. I changed the smarty.class.php include path to
include/smarty.class.php but it isn't able to read the template file.
If I create a new folder www.domain.com/include/test/ and move index.php into this directory it
works. Don't ask me why or how! But if I create a further directory, let's take
www.domain.com/include/test/php/ for example, it doesn't work anymore. Do I have to change the
compile path, cache path and the template path everytime I create a file in different folders? If
this is the case, how do I have to?
Do I need the document root to change the path like $document_root/include/templates or like that?
Thanks in advance!
Felix!
---------------------------------
Gesendet von http://mail.yahoo.de.
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de.