From 2acfcfb2875f58af3810a4a68d84306a6d3b5aee Mon Sep 17 00:00:00 2001 From: mohrt Date: Sun, 14 Jul 2002 16:34:03 +0000 Subject: [PATCH] fix bug with debug_tpl file path for Windows --- NEWS | 3 +++ Smarty.class.php | 2 +- libs/Smarty.class.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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'; } }