X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FAutomaticInstallation.php;h=33b6f8303fa05498e2f114e2665079c0b7ee2d9b;hb=3f2b0b9422915529a0ea585aa4325b6d2f2f65cd;hp=ca25d71a6f59e6c1f6f6eb8b6a39f51ea7392b57;hpb=ac56dcd50fe0060c96d8430e82513800af5bdb05;p=friendica.git diff --git a/src/Console/AutomaticInstallation.php b/src/Console/AutomaticInstallation.php index ca25d71a6f..33b6f8303f 100644 --- a/src/Console/AutomaticInstallation.php +++ b/src/Console/AutomaticInstallation.php @@ -1,6 +1,6 @@ dba = $dba; } - protected function doExecute() + protected function doExecute(): int { // Initialise the app $this->out("Initializing setup..."); @@ -199,8 +199,7 @@ HELP; $this->out('The Friendica URL has to be set during CLI installation.'); return 1; } else { - $baseUrl = new BaseURL($this->config, []); - $baseUrl->saveByURL($url); + $configCache->set('system', 'url', $url); } $installer->createConfig($configCache);