Paths in templates
| From: | gawan | Date: | Sun, 02 Feb 2003 23:45:08 +0000 |
| Subject: | Paths in templates | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7472@lists.php.net to get a copy of this message | ||
I have my php scripts in the web root folder and
both images and templates one level lower
ROOT (.php scripts)
|__ /images
|__ /templates
Now if I have to include an image in my template,
Smarty seems to accept both these forms:
<img href="../pics/....
and
<img href="pics/....
This is amazing, which would be most correct?
Am I writing templates as if they were in my php
or as they were independent files with a location?
gawan