@@ -69,7 +69,7 @@ |
||
| 69 | 69 | // If the path is relative, make it absolute... Sorry Windows users, this breaks support for your environment |
| 70 | 70 | if (substr($path, 0, 1) !== '/') |
| 71 | 71 | { |
| 72 | - $path = APPROOT . '/' . $path; |
|
| 72 | + $path = APPROOT.'/'.$path; |
|
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | $options = [ |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | |
| 94 | 94 | $level = strtoupper($config->get('log.application', $config->get('log.level', 'error'))); |
| 95 | 95 | |
| 96 | - return new StreamHandler(APPROOT . '/logs/stats.log', constant('\\Monolog\\Logger::' . $level)); |
|
| 96 | + return new StreamHandler(APPROOT.'/logs/stats.log', constant('\\Monolog\\Logger::'.$level)); |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | /** |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | // If database debugging is enabled then force the logger's error level to DEBUG, otherwise use the level defined in the app config |
| 114 | 114 | $level = $config->get('database.debug', false) ? 'DEBUG' : strtoupper($config->get('log.database', $config->get('log.level', 'error'))); |
| 115 | 115 | |
| 116 | - return new StreamHandler(APPROOT . '/logs/stats.log', constant('\\Monolog\\Logger::' . $level)); |
|
| 116 | + return new StreamHandler(APPROOT.'/logs/stats.log', constant('\\Monolog\\Logger::'.$level)); |
|
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | /** |