Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap).
This commit is contained in:
@ -43,7 +43,7 @@ abstract class Logger
|
||||
*/
|
||||
public function log($message)
|
||||
{
|
||||
if (DEBUG) {
|
||||
if (Config::get('LOGGING')) {
|
||||
$this->concreteLog($message);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user