public static function initialise()
 {
     self::$enabled = true;
     set_exception_handler(array(__CLASS__, 'handler'));
 }
示例#2
0
 protected function __construct()
 {
     parent::__construct();
     ShellExceptionHandler::initialise();
     $this->Profiler->sample('Engine Initialisation (Shell Mode)');
 }