Merge pull request #256 from tobiastom/patch-1
When phpci is default, it should be used.
This commit is contained in:
commit
14da1ab5a5
1 changed files with 2 additions and 2 deletions
|
|
@ -101,8 +101,8 @@ if ($installOK && strtoupper($_SERVER['REQUEST_METHOD']) == 'POST') {
|
|||
* Create database:
|
||||
*/
|
||||
$dbhost = $config['b8']['database']['servers']['write'][0];
|
||||
$dbname = $config['b8']['database']['name'];
|
||||
$dbuser = $config['b8']['database']['username'];
|
||||
$dbname = $config['b8']['database']['name'] ?: 'phpci';
|
||||
$dbuser = $config['b8']['database']['username'] ?: 'phpci';
|
||||
$dbpass = $config['b8']['database']['password'];
|
||||
|
||||
$pdo = new PDO('mysql:host=' . $dbhost, $dbuser, $dbpass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue