cvs: smarty /libs/plugins core.compile_template.php core.display_debug_console.php

From: Date: Wed, 28 May 2003 19:40:31 +0000
Subject: cvs: smarty /libs/plugins core.compile_template.php core.display_debug_console.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-613@lists.php.net to get a copy of this message
mohrt Wed May 28 15:40:31 2003 EDT Removed files: /smarty/libs/plugins core.compile_template.php Modified files: /smarty/libs/plugins core.display_debug_console.php Log: fix problem with security and debug.tpl file Index: smarty/libs/plugins/core.display_debug_console.php diff -u smarty/libs/plugins/core.display_debug_console.php:1.1 smarty/libs/plugins/core.display_debug_console.php:1.2 --- smarty/libs/plugins/core.display_debug_console.php:1.1 Wed May 7 14:54:41 2003 +++ smarty/libs/plugins/core.display_debug_console.php Wed May 28 15:40:30 2003 @@ -21,9 +21,9 @@ if(empty($this->debug_tpl)) { // set path to debug template from SMARTY_DIR - $this->debug_tpl = 'file:' . SMARTY_DIR . 'debug.tpl'; + $this->debug_tpl = SMARTY_DIR . 'debug.tpl'; if($this->security && is_file($this->debug_tpl)) { - $secure_dir[] = $this->debug_tpl; + $this->secure_dir[] = $this->debug_tpl; } } @@ -45,6 +45,8 @@ include($_compile_path); $_results = ob_get_contents(); ob_end_clean(); + } else { + $_results = ''; } $this->force_compile = $_force_compile_orig;

« previous php.smarty.cvs (#613) next »