Move Config::get() to DI::config()->get()
This commit is contained in:
@@ -46,7 +46,7 @@ if (!DI::mode()->has(App\Mode::MAINTENANCEDISABLED)) {
|
||||
return;
|
||||
}
|
||||
|
||||
DI::baseUrl()->saveByURL(Config::get('system', 'url'));
|
||||
DI::baseUrl()->saveByURL(DI::config()->get('system', 'url'));
|
||||
|
||||
$spawn = array_key_exists('s', $options) || array_key_exists('spawn', $options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user