diff options
-rw-r--r-- | app/constants.php | 2 | ||||
-rw-r--r-- | config.default.php | 2 |
2 files changed, 2 insertions, 2 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'); diff --git a/config.default.php b/config.default.php index a55cec3e..c6b4599b 100644 --- a/config.default.php +++ b/config.default.php @@ -4,7 +4,7 @@ define('DEBUG', false); // Debug file path -define('DEBUG_FILE', 'data/debug.log'); +define('DEBUG_FILE', __DIR__.'/data/debug.log'); // Folder for uploaded files, don't forget the trailing slash define('FILES_DIR', 'data/files/'); |