Merge pull request #214 from JB1tz/master
Fix mysqli connection error debugging
This commit is contained in:
commit
37cc6df067
|
@ -13,7 +13,7 @@ class Db_Mysqli implements IDb {
|
||||||
|
|
||||||
return $this->link;
|
return $this->link;
|
||||||
} else {
|
} else {
|
||||||
die("Unable to connect to database (as $user to $host, database $db): " . mysqli_error());
|
die("Unable to connect to database (as $user to $host, database $db): " . mysqli_connect_error());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue