Prefix DEBUG_FILE with __DIR__
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// Enable/disable debug
|
// Enable/disable debug
|
||||||
defined('DEBUG') or define('DEBUG', false);
|
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
|
// Application version
|
||||||
defined('APP_VERSION') or define('APP_VERSION', 'master');
|
defined('APP_VERSION') or define('APP_VERSION', 'master');
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
define('DEBUG', false);
|
define('DEBUG', false);
|
||||||
|
|
||||||
// Debug file path
|
// 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
|
// Folder for uploaded files, don't forget the trailing slash
|
||||||
define('FILES_DIR', 'data/files/');
|
define('FILES_DIR', 'data/files/');
|
||||||
|
|||||||
Reference in New Issue
Block a user