Index: trunk/core/kernel/utility/debugger.php =================================================================== diff -u -r3815 -r3830 --- trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 3815) +++ trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 3830) @@ -656,7 +656,7 @@ } .dbg_flat_table TD { - border: 1px solid buttonface; + border: 1px solid #CCCCCC; padding: 4px; } @@ -1053,7 +1053,20 @@ $return .= ' '.$suffix; return $return; } - + + function printConstants($constants) + { + if (!is_array($constants)) { + $constants = explode(',', $constants); + } + $contant_tpl = '%s%s'; + $ret = ''; + foreach ($constants as $constant_name) { + $ret .= sprintf($contant_tpl, $constant_name, constant($constant_name)); + } + $ret .= '
'; + $this->appendHTML($ret); + } } if( !function_exists('memory_get_usage') )