[pLog-svn] r1254 - plog/trunk/class/template

Jon Daley plogworld at daley.snurgle.org
Tue Mar 1 17:12:03 GMT 2005


 	This looks good.  I can now turn security on for my blog.

On Mon, 28 Feb 2005 oscar at devel.plogworld.net wrote:

> Author: oscar
> Date: 2005-02-28 20:41:27 +0000 (Mon, 28 Feb 2005)
> New Revision: 1254
>
> Modified:
>   plog/trunk/class/template/template.class.php
> Log:
> there were some issues with smarty's security settings and cached templates.
>
> Modified: plog/trunk/class/template/template.class.php
> ===================================================================
> --- plog/trunk/class/template/template.class.php	2005-02-28 19:23:44 UTC (rev 1253)
> +++ plog/trunk/class/template/template.class.php	2005-02-28 20:41:27 UTC (rev 1254)
> @@ -59,7 +59,7 @@
>
>             $this->security = (boolean)!$config->getValue( 'allow_php_code_in_templates', false );
>             //$this->security = true;
> -			$this->secure_dir = Array( "./templates/admin" );
> +			$this->secure_dir = Array( "./templates/admin", "./templates/" );
>
>             // default folders
>             $this->compile_dir  = $config->getValue( 'temp_folder' );
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>

**************************************************************
*     Jonathan M. Daley     *  Always be sincere, even when  *
*   jondaley at snurgle.org    *       you don't mean it.       *
* www.snurgle.org/~jondaley *                 -- Irene Peter *
**************************************************************



More information about the pLog-svn mailing list