private static function _dispatchException($e) { if (class_exists('AppShrinker_Php')) { return; } $production = MvcCore::GetEnvironment() == 'production'; if (class_exists('Debug')) { if ($production) { Debug::log($e); self::_renderError($e->getMessage()); } else { Debug::_exceptionHandler($e); } } else { if ($production) { self::_renderError($e->getMessage()); } else { throw $e; } } exit; }
public function Terminate() { MvcCore::Terminate(); }