We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9530e commit 8ece33aCopy full SHA for 8ece33a
modules/installer/controller/setup.php
@@ -110,7 +110,6 @@ private function step1()
110
$upload = $this->getUploads()->allocate('banner');
111
$config = $this->loadCurrentConfig();
112
$this->parseUploads();
113
- $config['app'] = array_merge($config['app'], $_POST['settings']);
114
if($upload->isSuccess())
115
{
116
if($upload->move())
@@ -126,6 +125,7 @@ private function step1()
126
125
$config['app']['name'] = $_POST['site_name'];
127
$config['app']['debug'] = $_POST['debug']?true:false;
128
$config['app']['ssl'] = $_POST['ssl']?true:false;
+ $config['app'] = array_merge($config['app'], $_POST['settings']);
129
if($this->saveConfig($config))
130
131
return true;
0 commit comments