Re: [SMARTY-DEV] use_sub_dirs issue
| From: | messju mohr | Date: | Fri, 26 Sep 2003 09:45:05 +0000 |
| Subject: | Re: [SMARTY-DEV] use_sub_dirs issue | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1878@lists.php.net to get a copy of this message | ||
On Mon, Sep 22, 2003 at 12:54:14AM +1000, Cameron Brunner wrote:
> I'v spent the better part of the day to work out that php 4.1.2+,
> safemode and use_sub_dirs dont mix, anyone care to explain what the
> issue is? I'm quite happy to patch it once i know what the issue is
> because its sending me nuts with a site im working on, at around 300
> seperate templates, I need to organize it properly.
use use_sub_dirs only affects the compiled templates not the
source-templates. you can organize your tpl-files in subdirectories
even in safe-mode. you just have to make sure the subdirectories have
the same owner than the php-script running (normally your ftp-account)
and read-permissions exists for the webserver (nobody, wwwrun,
wwwdata, apache sth. like that)
greetings
messju
> Cameron
> gamrdev.com