Add port to installer
parent
b780a6237e
commit
b1df28d4d9
|
@ -121,6 +121,7 @@ class InstallController extends AbstractController {
|
|||
|
||||
$config = array(
|
||||
'host' => 'localhost',
|
||||
'port' => '3306',
|
||||
'name' => '',
|
||||
'user' => '',
|
||||
'pass' => '',
|
||||
|
@ -143,7 +144,8 @@ class InstallController extends AbstractController {
|
|||
$config['host'],
|
||||
$config['user'],
|
||||
$config['pass'],
|
||||
$config['name']
|
||||
$config['name'],
|
||||
$config['port'],
|
||||
);
|
||||
|
||||
if($this->db->status()) {
|
||||
|
@ -307,6 +309,7 @@ class InstallController extends AbstractController {
|
|||
'pass' => '',
|
||||
'name' => '',
|
||||
'host' => '',
|
||||
'port' => '3306',
|
||||
);
|
||||
$pattern = "/define\('SM_DB_{key}', '(.*?)'/u";
|
||||
|
||||
|
|
Loading…
Reference in New Issue