Prefix custom config with __DIR__
This commit is contained in:
parent
b5b5e91bb0
commit
b761e8f17c
@ -23,8 +23,8 @@ require __DIR__.'/models/auto_update.php';
|
|||||||
require __DIR__.'/models/database.php';
|
require __DIR__.'/models/database.php';
|
||||||
require __DIR__.'/models/remember_me.php';
|
require __DIR__.'/models/remember_me.php';
|
||||||
|
|
||||||
if (file_exists('config.php')) {
|
if (file_exists(__DIR__.'/config.php')) {
|
||||||
require 'config.php';
|
require __DIR__.'/config.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
defined('APP_VERSION') or define('APP_VERSION', 'master');
|
defined('APP_VERSION') or define('APP_VERSION', 'master');
|
||||||
|
Loading…
Reference in New Issue
Block a user