Re: [SMARTY] safe mode on and use_sub_dirs

From: Date: Tue, 18 Nov 2003 18:24:25 +0000
Subject: Re: [SMARTY] safe mode on and use_sub_dirs
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10544@lists.php.net to get a copy of this message
On Tue, Nov 18, 2003 at 06:48:51PM +0100, B. van Ouwerkerk wrote: > When set safe mode to on and use_sub_dirs to true Smarty breaks, all I get > are many error messages. Accessrights are set correctly and with the same > settings I can create as much files as I want.. that's true. maybe read http://php.net/features.safe-mode why. > Anyway.. if I set use_sub_dirs to false Smarty will still create files in > templates_c. files in templates_c are ok, but files in directories below (if created by the webserver) are not. > Is Smarty still caching if use_sub_dirs is set to false? caching has nothing to do with "templates_c". caching happens in "cache". you have to set use_sub_dirs to true if you want to use smarty in safe_mode. AFAIK safe_mode is the main reason why use_sub_dirs was added. > Nothing mentioned in docs or found with google... > > B.

« previous php.smarty.general (#10544) next »