<?php
require_once('class.DubroxPhpDebugger.php');
// PARAMETERS TO CONFIGURE //
$_debugger_options = array(
// Client-side directory location
// where Dubrox's PHP Debugger is located
// used to locate JS and CSS plug-ins
'debug_tools_dir' => '/dpd/plugins/',
// Variable name of the GET or POST or REQUEST
// used to activate the debugger and pass flags to it
'debugger_var_name' => 'dpd',
// Directory where to store logs of the detected bugs.
// You can use both relative or absolute path.
'file_log_directory' => ''
);
/////////////////////////////
// DO NOT CHANGE THIS //
$_debugger = new Dubrox_PhpDebugger($_debugger_options);
function pretty_errors($output = 'return', $options = 'return debug infos') {
global $_debugger;
return $_debugger->pretty_errors($output, $options);
}
////////////////////////
?>