Jeff-Lewis / smarty-php

Automatically exported from code.google.com/p/smarty-php
0 stars 0 forks source link

Custom Smarty_Internal_Debug #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello. Pleace change debugger class name to custome in file 
smarty_internal_templatecompilerbase.php
Example:
if ($this->smarty->debugging && $debug) {
    $debug_class_name = $this->smarty->debug_class_name;
    $debug_class_name::end_compile($this->template);
}
After that, i can register costom debbuger.

Original issue reported on code.google.com by WirOAtom@gmail.com on 27 Dec 2014 at 8:38

GoogleCodeExporter commented 9 years ago
Use Smarty_Internal_Debug as class name for your custom debugger and include 
it's source before you enable debugging.

Original comment by Uwe.Tews@googlemail.com on 13 May 2015 at 5:49