Add new constants: FILES_DIR and DEBUG_FILE

This commit is contained in:
Frederic Guillot
2015-01-25 10:47:21 -05:00
parent bf65a95851
commit 655d75a3cf
5 changed files with 23 additions and 21 deletions

View File

@@ -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;