/** * Stoppt das Debugging. Die Fehlerausgabe wird unterdr�ckt */ public function stop() { Logging::info('Debug: OFF'); $this->active = false; $_SESSION['DEBUG'] = false; ini_set('display_errors', 0); Profiler::setActive(false); }
/** * Konstruktor für die Application-Klasse. Hier wird die Konfiguration * eingelesen und die Provider initialisiert */ protected function __construct() { Profiler::setActive(true); try { Configuration::getInstance()->readConfig(); } catch (Exception $e) { Http::serverError('Fehler beim Lesen der Konfiguration ' . $e->getMessage()); } }