Prefix DEBUG_FILE with __DIR__

This commit is contained in:
Frederic Guillot 2015-01-28 21:27:33 -05:00
parent 549b86037b
commit 72913c33d3
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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/');