Merge pull request #214 from JB1tz/master

Fix mysqli connection error debugging
This commit is contained in:
Andrew Dolgov 2013-05-31 08:48:06 -07:00
commit 37cc6df067
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class Db_Mysqli implements IDb {
return $this->link;
} 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());
}
}