mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fix bug with debug_tpl file path for Windows
This commit is contained in:
3
NEWS
3
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
|
Version 2.2.0
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
@@ -213,7 +213,7 @@ class Smarty
|
|||||||
|
|
||||||
if(empty($this->debug_tpl)) {
|
if(empty($this->debug_tpl)) {
|
||||||
// set path to debug template from SMARTY_DIR
|
// set path to debug template from SMARTY_DIR
|
||||||
$this->debug_tpl = SMARTY_DIR.'debug.tpl';
|
$this->debug_tpl = 'file:'.SMARTY_DIR.'debug.tpl';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -213,7 +213,7 @@ class Smarty
|
|||||||
|
|
||||||
if(empty($this->debug_tpl)) {
|
if(empty($this->debug_tpl)) {
|
||||||
// set path to debug template from SMARTY_DIR
|
// set path to debug template from SMARTY_DIR
|
||||||
$this->debug_tpl = SMARTY_DIR.'debug.tpl';
|
$this->debug_tpl = 'file:'.SMARTY_DIR.'debug.tpl';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user