summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-28 21:27:33 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-28 21:27:33 -0500
commit72913c33d37c9b84b88234d5a15b49c9bf4846a9 (patch)
treeed3e37f9f32fa8123b54db57e38e890b91c865e4 /app
parent549b86037bf1e62acbbc8b613ea0ce1fb250dbef (diff)
Prefix DEBUG_FILE with __DIR__
Diffstat (limited to 'app')
-rw-r--r--app/constants.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/constants.php b/app/constants.php
index 9245d023..064e0211 100644
--- a/app/constants.php
+++ b/app/constants.php
@@ -2,7 +2,7 @@
// Enable/disable debug
defined('DEBUG') or define('DEBUG', false);
-defined('DEBUG_FILE') or define('DEBUG_FILE', 'data/debug.log');
+defined('DEBUG_FILE') or define('DEBUG_FILE', __DIR__.'/../data/debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', 'master');