diff --git a/library/smarty/libs/sysplugins/smarty_internal_compile_debug.php b/library/smarty/libs/sysplugins/smarty_internal_compile_debug.php new file mode 100644 --- /dev/null +++ b/library/smarty/libs/sysplugins/smarty_internal_compile_debug.php @@ -0,0 +1,39 @@ +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); ?>"; + + return $_output; + } +}