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

This commit is contained in:
Philipp Holzer 2019-12-16 00:48:20 +01:00
commit e57a87f224
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
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);