Remove deprecated App::setBaseURL() - process methods to DI::baseUrl()->saveByURL()

This commit is contained in:
nupplaPhil
2019-12-16 00:48:20 +01:00
parent 50be94aa5e
commit e57a87f224
3 changed files with 2 additions and 16 deletions

View File

@@ -46,7 +46,7 @@ if (!DI::mode()->has(App\Mode::MAINTENANCEDISABLED)) {
return;
}
$a->setBaseURL(Config::get('system', 'url'));
DI::baseUrl()->saveByURL(Config::get('system', 'url'));
$spawn = array_key_exists('s', $options) || array_key_exists('spawn', $options);