pull/7006/head
Philipp Holzer 4 years ago
parent 58c9566c3d
commit 03e149270b
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
  1. 5
      src/Core/Installer.php
  2. 2
      src/Module/Install.php
  3. 2
      src/Util/BaseURL.php

@ -11,7 +11,6 @@ use Friendica\Database\DBA;
use Friendica\Database\DBStructure;
use Friendica\Object\Image;
use Friendica\Util\Logger\VoidLogger;
use Friendica\Util\BasePath;
use Friendica\Util\Network;
use Friendica\Util\Profiler;
use Friendica\Util\Strings;
@ -140,8 +139,6 @@ class Installer
{
$basepath = $configCache->get('system', 'basepath');
$url = $configCache->get('system', 'url');
$tpl = Renderer::getMarkupTemplate('local.config.tpl');
$txt = Renderer::replaceMacros($tpl, [
'$dbhost' => $configCache->get('database', 'hostname'),
@ -154,7 +151,7 @@ class Installer
'$hostname' => $configCache->get('config', 'hostname'),
'$urlpath' => $configCache->get('system', 'urlpath'),
'$baseurl' => $url,
'$baseurl' => $configCache->get('system', 'url'),
'$sslpolicy' => $configCache->get('system', 'ssl_policy'),
'$basepath' => $basepath,
'$timezone' => $configCache->get('system', 'default_timezone'),

@ -231,7 +231,7 @@ class Install extends BaseModule
$configCache->get('database', 'hostname'),
'',
'required'],
'$dbuser ' => ['database-username',
'$dbuser' => ['database-username',
L10n::t('Database Login Name'),
$configCache->get('database', 'username'),
'',

@ -285,7 +285,7 @@ class BaseURL
if (empty($this->url)) {
$this->determineBaseUrl();
if (!empty($url)) {
if (!empty($this->url)) {
$this->config->set('system', 'url', $this->url);
}
}

Loading…
Cancel
Save