mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-04 23:29:16 +00:00
Merge pull request #214 from JB1tz/master
Fix mysqli connection error debugging
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user