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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sun Jun 18 02:34:21 GMT 2006


Author: jondaley
Date: 2006-06-18 02:34:20 +0000 (Sun, 18 Jun 2006)
New Revision: 3607

Modified:
   plog/trunk/class/template/template.class.php
Log:
imgs can be considered secure, I think.  This fixes a bug introduced earlier today, since smarty considered this dir unsafe.

Modified: plog/trunk/class/template/template.class.php
===================================================================
--- plog/trunk/class/template/template.class.php	2006-06-18 02:21:17 UTC (rev 3606)
+++ plog/trunk/class/template/template.class.php	2006-06-18 02:34:20 UTC (rev 3607)
@@ -80,7 +80,7 @@
             	
             $this->security = (boolean)!$config->getValue( 'allow_php_code_in_templates', false );
             //$this->security = true;
-			$this->secure_dir = Array( './templates/admin', './templates/' );
+			$this->secure_dir = Array( './imgs', './templates/admin', './templates/' );
 
             // default folders
             $this->compile_dir  = $config->getValue( 'temp_folder' );



More information about the pLog-svn mailing list