Add new constants: FILES_DIR and DEBUG_FILE
This commit is contained in:
@@ -16,7 +16,7 @@ class LoggingProvider implements ServiceProviderInterface
|
||||
$logger->setLogger(new Syslog('kanboard'));
|
||||
|
||||
if (DEBUG) {
|
||||
$logger->setLogger(new File(__DIR__.'/../../data/debug.log'));
|
||||
$logger->setLogger(new File(DEBUG_FILE));
|
||||
}
|
||||
|
||||
$container['logger'] = $logger;
|
||||
|
||||
Reference in New Issue
Block a user