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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sat Feb 26 22:26:33 GMT 2005


Author: oscar
Date: 2005-02-26 22:26:32 +0000 (Sat, 26 Feb 2005)
New Revision: 1220

Modified:
   plog/trunk/class/template/template.class.php
Log:
solved an issue with templates provided by plugins not being able to include any file from any folder other than their own (due to enabling the Smarty::security attribute) Now everything works just fine.

Modified: plog/trunk/class/template/template.class.php
===================================================================
--- plog/trunk/class/template/template.class.php	2005-02-26 22:14:56 UTC (rev 1219)
+++ plog/trunk/class/template/template.class.php	2005-02-26 22:26:32 UTC (rev 1220)
@@ -59,6 +59,7 @@
             	
             $this->security = (boolean)!$config->getValue( 'allow_php_code_in_templates', false );
             //$this->security = true;
+			$this->secure_dir = Array( "./templates/admin" );
 
             // default folders
             $this->compile_dir  = $config->getValue( 'temp_folder' );




More information about the pLog-svn mailing list