diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-25 10:47:21 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-25 10:47:21 -0500 |
commit | 655d75a3cf154d14b10ffbf2baa42a549cf214f7 (patch) | |
tree | 546dbebac0a84c2b6fcf5afb4c1adb5729bdd7bd /app/ServiceProvider/LoggingProvider.php | |
parent | bf65a95851f027c465e235b6988ae207c8a1f8ef (diff) |
Add new constants: FILES_DIR and DEBUG_FILE
Diffstat (limited to 'app/ServiceProvider/LoggingProvider.php')
-rw-r--r-- | app/ServiceProvider/LoggingProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/ServiceProvider/LoggingProvider.php b/app/ServiceProvider/LoggingProvider.php index 5b2cf565..76263da3 100644 --- a/app/ServiceProvider/LoggingProvider.php +++ b/app/ServiceProvider/LoggingProvider.php @@ -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; |