Refactored InstallCommand (+ removed localization from InstallCommand, because it doesn't works actually)
This commit is contained in:
parent
97cd0b5373
commit
0a4636a379
22 changed files with 198 additions and 695 deletions
|
|
@ -57,7 +57,7 @@ class Database extends \PDO
|
|||
|
||||
$dns = self::$details['type'] . ':host=' . $server['host'];
|
||||
if (isset($server['port'])) {
|
||||
$dns .= ';port=' . $server['port'];
|
||||
$dns .= ';port=' . (integer)$server['port'];
|
||||
}
|
||||
$dns .= ';dbname=' . self::$details['db'];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue