/** * Set Debug of application */ private function setDebug() { $ambience = Conf::get("App.online", false); $debug = !$ambience; if ($this->configuration->offsetExists("debug")) { $debug = $this->configuration->debug; } Conf::set("App.debug", $debug); }