summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-25 10:47:21 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-25 10:47:21 -0500
commit655d75a3cf154d14b10ffbf2baa42a549cf214f7 (patch)
tree546dbebac0a84c2b6fcf5afb4c1adb5729bdd7bd /app/ServiceProvider
parentbf65a95851f027c465e235b6988ae207c8a1f8ef (diff)
Add new constants: FILES_DIR and DEBUG_FILE
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/LoggingProvider.php2
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;