Prefix DEBUG_FILE with __DIR__
This commit is contained in:
parent
549b86037b
commit
72913c33d3
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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/');
|
||||
|
|
|
|||
Loading…
Reference in New Issue