fix bug with debug_tpl file path for Windows

This commit is contained in:
mohrt
2002-07-14 16:34:03 +00:00
parent 21fc14c536
commit 2acfcfb287
3 changed files with 5 additions and 2 deletions

3
NEWS
View File

@@ -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
-------------

View File

@@ -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';
}
}

View File

@@ -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';
}
}