Re: [SMARTY] Security

From: Date: Thu, 13 Mar 2003 09:55:59 +0000
Subject: Re: [SMARTY] Security
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8605@lists.php.net to get a copy of this message
On Thu, Mar 13, 2003 at 04:37:10AM -0500, lists@yewlands.com wrote: > Hi > > I have a situation on our of our servers. I have an app that runs smarty but the > templates_c directory will have to be under the web root. > If I chmod 777 the folder all goes well. If I set any other permissions smarty > baulks. > > Would it be possible to have some mechanism within smarty so once the templates > have all been compiled and you know they aren't going to change to set the > permissions on the compiled templates directory so it will work with read only > permissions set? do: $smarty->force_compile = false; $smarty->compile_check = false; :)

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