Skip to content

Commit 8ece33a

Browse files
committed
fix configuracion instalador
1 parent fa9530e commit 8ece33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/installer/controller/setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ private function step1()
110110
$upload = $this->getUploads()->allocate('banner');
111111
$config = $this->loadCurrentConfig();
112112
$this->parseUploads();
113-
$config['app'] = array_merge($config['app'], $_POST['settings']);
114113
if($upload->isSuccess())
115114
{
116115
if($upload->move())
@@ -126,6 +125,7 @@ private function step1()
126125
$config['app']['name'] = $_POST['site_name'];
127126
$config['app']['debug'] = $_POST['debug']?true:false;
128127
$config['app']['ssl'] = $_POST['ssl']?true:false;
128+
$config['app'] = array_merge($config['app'], $_POST['settings']);
129129
if($this->saveConfig($config))
130130
{
131131
return true;

0 commit comments

Comments
 (0)