Fixed bug where setup stored hard coded config to config file
This commit is contained in:
parent
67d3981694
commit
de80e3797b
|
@ -91,10 +91,11 @@ class Setup
|
||||||
// Save config file
|
// Save config file
|
||||||
$config = [
|
$config = [
|
||||||
'db' => [
|
'db' => [
|
||||||
'host' => 'mysql.dmz.intranet',
|
'host' => $db['host'],
|
||||||
'user' => 'pdnsnew',
|
'user' => $db['user'],
|
||||||
'password' => 'pdnsnew',
|
'password' => $db['password'],
|
||||||
'dbname' => 'pdnsnew'
|
'dbname' => $db['database'],
|
||||||
|
'port' => intval($db['port'])
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
$configFile = '<?php' . "\n\n" . 'return ' . var_export($config, true) . ';';
|
$configFile = '<?php' . "\n\n" . 'return ' . var_export($config, true) . ';';
|
||||||
|
|
Loading…
Reference in a new issue