diff --git a/NEWS b/NEWS index 03e1704e..d608f91d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ + - fix bug with debug_tpl file path with Windows (.SMK., Monte) + - fix append() function with string/array problem (Monte) + Version 2.2.0 ------------- diff --git a/Smarty.class.php b/Smarty.class.php index 63281f64..1f32d9c4 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -213,7 +213,7 @@ class Smarty if(empty($this->debug_tpl)) { // set path to debug template from SMARTY_DIR - $this->debug_tpl = SMARTY_DIR.'debug.tpl'; + $this->debug_tpl = 'file:'.SMARTY_DIR.'debug.tpl'; } } diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 63281f64..1f32d9c4 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -213,7 +213,7 @@ class Smarty if(empty($this->debug_tpl)) { // set path to debug template from SMARTY_DIR - $this->debug_tpl = SMARTY_DIR.'debug.tpl'; + $this->debug_tpl = 'file:'.SMARTY_DIR.'debug.tpl'; } }