cvs: smarty / Smarty.class.php

From: Date: Wed, 03 Jul 2002 20:32:44 +0000
Subject: cvs: smarty / Smarty.class.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-172@lists.php.net to get a copy of this message
mohrt Wed Jul 3 16:32:44 2002 EDT Modified files: /smarty Smarty.class.php Log: only set $debug_tpl in constructor if empty Index: smarty/Smarty.class.php diff -u smarty/Smarty.class.php:1.294 smarty/Smarty.class.php:1.295 --- smarty/Smarty.class.php:1.294 Wed Jul 3 16:08:33 2002 +++ smarty/Smarty.class.php Wed Jul 3 16:32:44 2002 @@ -210,8 +210,11 @@ } } } - // look for debug template in the SMARTY_DIR - $this->debug_tpl = SMARTY_DIR.'debug.tpl'; + + if(empty($this->debug_tpl)) { + // set path to debug template from SMARTY_DIR + $this->debug_tpl = SMARTY_DIR.'debug.tpl'; + } }

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