Update Database.php
This commit is contained in:
parent
2628d7f938
commit
c8ab850f72
|
@ -12,7 +12,7 @@ class Database
|
|||
|
||||
try {
|
||||
$pdo = new \PDO(
|
||||
'mysql:host=' . $config['host'] . ';port=' . $config['port'] . ';dbname=' . $config['dbname'],
|
||||
$config['type'] . ':host=' . $config['host'] . ';port=' . $config['port'] . ';dbname=' . $config['dbname'],
|
||||
$config['user'],
|
||||
$config['password']
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue