From 655d75a3cf154d14b10ffbf2baa42a549cf214f7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 25 Jan 2015 10:47:21 -0500 Subject: Add new constants: FILES_DIR and DEBUG_FILE --- app/ServiceProvider/LoggingProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/ServiceProvider/LoggingProvider.php') 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; -- cgit v1.2.3