bugfix
This commit is contained in:
parent
58c9566c3d
commit
03e149270b
|
@ -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…
Reference in New Issue
Block a user