X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/098a79f0819ebb89b7d48df4a6b154af4560f68e..9a23a8c0a51b7ec38a96f525484134f3cb85dc7e:/WEB-INF/lib/smarty/sysplugins/smarty_internal_compile_debug.php diff --git a/WEB-INF/lib/smarty/sysplugins/smarty_internal_compile_debug.php b/WEB-INF/lib/smarty/sysplugins/smarty_internal_compile_debug.php new file mode 100644 index 00000000..f6189e7e --- /dev/null +++ b/WEB-INF/lib/smarty/sysplugins/smarty_internal_compile_debug.php @@ -0,0 +1,38 @@ +compiler = $compiler; + // check and get attributes + $_attr = $this->_get_attributes($args); + + // compile always as nocache + $this->compiler->tag_nocache = true; + + // display debug template + $_output = "smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl); ?>"; + return $_output; + } +} + +?> \ No newline at end of file