Exemple #1
0
 protected function _postApplicationRun(&$request = NULL, &$response = NULL)
 {
     //#TODO #2.0.0 testing isolation and profiling (e.g. time isolation)
     if ($this == self::$_rootStrap) {
         Saf_Debug::dieSafe();
     }
 }
Exemple #2
0
 protected function _postRun()
 {
     if ($this == self::$_rootStrap) {
         Saf_Debug::dieSafe();
     }
 }
Exemple #3
0
 /**
  * Outputs in the case of complete and total failure during the
  * application bootstrap process.
  * @param Exception $e
  * @param string $caughtLevel
  * @param string $additionalError
  */
 public static function exceptionDisplay($e, $caughtLevel = 'BOOTSTRAP', $additionalError = '')
 {
     $rootUrl = defined('APPLICATION_BASE_URL') ? APPLICATION_BASE_URL : '';
     $title = 'Configuration Error';
     if (is_null(self::$_exceptionView)) {
         self::$_exceptionView = APPLICATION_PATH . '/views/scripts/error/error.php';
     }
     include self::$_exceptionView;
     if (class_exists('Saf_Debug', FALSE)) {
         Saf_Debug::dieSafe();
     }
 }