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