Ejemplo n.º 1
0
function debug_php($status = 0)
{
    switch ($status) {
        case 0:
            error_reporting($status);
            break;
        case 1:
            error_reporting(E_ALL | E_STRICT);
            ini_set("display", $status);
            break;
        default:
            debug_php(0);
            break;
    }
}
Ejemplo n.º 2
0
/**
 * platform_launch_debug: used to load the system debugger
 * @param string $status The path to list
 *
 * @return void
 */
function platform_launch_debug($status = 0)
{
    platform_launch_php('debug');
    debug_php($status);
}
Ejemplo n.º 3
0
 /**
  * platform_launch_debug: used to load the system debugger
  * @param string $status The path to list
  *
  * @return void
  */
 function launch_debug($status = 0)
 {
     $this->launch_php('debug');
     debug_php($status);
 }