1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-30 02:11:28 +00:00

return result codes if DB connection or --debug-feed fails

This commit is contained in:
Andrew Dolgov
2017-04-25 13:39:01 +03:00
parent edb56571f2
commit 3c11159776
4 changed files with 13 additions and 5 deletions

View File

@@ -14,7 +14,8 @@ class Db_Mysqli implements IDb {
return $this->link;
} else {
die("Unable to connect to database (as $user to $host, database $db): " . mysqli_connect_error());
print("Unable to connect to database (as $user to $host, database $db): " . mysqli_connect_error());
exit(102);
}
}