X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FInstall.php;h=c1c3cda355a4626c0399f002c50668d3c5ff52f6;hb=65d79d4c9350665fedbf434799fed335de64688e;hp=3e27a7d335a05d40a90b86db6e11d7a5ba55bd75;hpb=2e4d654c0a241891a8a64ebd3e49ebde42fad8cc;p=friendica.git diff --git a/src/Module/Install.php b/src/Module/Install.php index 3e27a7d335..c1c3cda355 100644 --- a/src/Module/Install.php +++ b/src/Module/Install.php @@ -1,6 +1,6 @@ installer->installDatabase($configCache->get('system', 'basepath')); - + $this->installer->installDatabase(); + // install allowed themes to register theme hooks // this is same as "Reload active theme" in /admin/themes $allowed_themes = Theme::getAllowedList(); @@ -337,7 +337,7 @@ class Install extends BaseModule if (count($this->installer->getChecks()) == 0) { $txt = '
';
- $txt .= $this->t('Your Friendica site database has been installed.') . EOL;
+ $txt .= $this->t('Your Friendica site database has been installed.') . '
';
$db_return_text .= $txt;
}
@@ -363,7 +363,7 @@ class Install extends BaseModule
* @return string The text for the next steps
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
- private function whatNext()
+ private function whatNext(): string
{
$baseurl = $this->baseUrl->get();
return
@@ -383,6 +383,7 @@ class Install extends BaseModule
* @param string $cat The category of the setting
* @param string $key The key of the setting
* @param null|string $default The default value
+ * @return void
*/
private function checkSetting(Cache $configCache, array $post, string $cat, string $key, ?string $default = null)
{