From ab5d8d4e07bb3c8230d0285ef8902ef1979fce51 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 18 Oct 2018 02:39:34 +0200 Subject: Updating Smarty --- .../sysplugins/smarty_internal_compile_debug.php | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'lib/smarty/sysplugins/smarty_internal_compile_debug.php') diff --git a/lib/smarty/sysplugins/smarty_internal_compile_debug.php b/lib/smarty/sysplugins/smarty_internal_compile_debug.php index f50c7ae..7994166 100644 --- a/lib/smarty/sysplugins/smarty_internal_compile_debug.php +++ b/lib/smarty/sysplugins/smarty_internal_compile_debug.php @@ -1,43 +1,40 @@ getAttributes($compiler, $args); - // compile always as nocache $compiler->tag_nocache = true; - // display debug template - $_output = "smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl); ?>"; + $_output = + "display_debug(\$_smarty_tpl);\n"; + $_output .= "unset(\$_smarty_debug);\n?>"; return $_output; } - } - -?> \ No newline at end of file -- cgit v1.2.3