From 6d88d33c5b7d18ca263ad5878fa21389afd98373 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews@googlemail.com" Date: Mon, 29 Jul 2013 13:58:08 +0000 Subject: [PATCH] - bugfix headers already send warning thrown when using 'SMARTY_DEBUG=on' from URL (Issue 148) --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_debug.php | 1 + 2 files changed, 4 insertions(+) diff --git a/change_log.txt b/change_log.txt index 80992bce..c4e98a56 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== trunk ===== +29.07.2013 +- bugfix headers already send warning thrown when using 'SMARTY_DEBUG=on' from URL (Issue 148) + 27.07.2013 - enhancement allow access to properties of registered opjects for Smarty2 BC (forum topic 24344) diff --git a/libs/sysplugins/smarty_internal_debug.php b/libs/sysplugins/smarty_internal_debug.php index ccb6a5fc..802a19ab 100644 --- a/libs/sysplugins/smarty_internal_debug.php +++ b/libs/sysplugins/smarty_internal_debug.php @@ -115,6 +115,7 @@ class Smarty_Internal_Debug extends Smarty_Internal_Data $smarty->left_delimiter = '{'; $smarty->right_delimiter = '}'; $smarty->debugging = false; + $smarty->debugging_ctrl = 'NONE'; $smarty->force_compile = false; $_template = new Smarty_Internal_Template($smarty->debug_tpl, $smarty); $_template->caching = false;