summaryrefslogtreecommitdiff
path: root/lib/smarty3/sysplugins/smarty_internal_compile_debug.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smarty3/sysplugins/smarty_internal_compile_debug.php')
-rw-r--r--lib/smarty3/sysplugins/smarty_internal_compile_debug.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/smarty3/sysplugins/smarty_internal_compile_debug.php b/lib/smarty3/sysplugins/smarty_internal_compile_debug.php
index 1668e72..7994166 100644
--- a/lib/smarty3/sysplugins/smarty_internal_compile_debug.php
+++ b/lib/smarty3/sysplugins/smarty_internal_compile_debug.php
@@ -20,8 +20,8 @@ class Smarty_Internal_Compile_Debug extends Smarty_Internal_CompileBase
/**
* Compiles code for the {debug} tag
*
- * @param array $args array with attributes from parser
- * @param object $compiler compiler object
+ * @param array $args array with attributes from parser
+ * @param object $compiler compiler object
*
* @return string compiled code
*/
@@ -29,10 +29,8 @@ class Smarty_Internal_Compile_Debug extends Smarty_Internal_CompileBase
{
// check and get attributes
$_attr = $this->getAttributes($compiler, $args);
-
// compile always as nocache
$compiler->tag_nocache = true;
-
// display debug template
$_output =
"<?php \$_smarty_debug = new Smarty_Internal_Debug;\n \$_smarty_debug->display_debug(\$_smarty_tpl);\n";