Re: [SMARTY] Compiled Templates in Database
| From: | Manfred Stienstra | Date: | Sun, 17 Nov 2002 21:21:19 +0000 |
| Subject: | Re: [SMARTY] Compiled Templates in Database | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6461@lists.php.net to get a copy of this message | ||
> > There is a var $use_sub_dirs, in the smarty object. When you set that to
> > false smarty should work in safe mode.
> >
> > Manfred
> The problem is that that only prevents creation of subdirectories. But you
> still need to write in templates_c which can't be set to 777 in safe_mode.
> So I don't see how that helps. I did change that and nothing helpded,
> because I still didn't have permission to write the compiled template
> files.
Yes, if you can't write to the filesystem at all, this doesn't help. I guess
smarty would have to be changed to be able to handle this.
Manfred