1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 01:55:55 +00:00

fixed sanity check (mysqli_connect is also allowed now)

This commit is contained in:
Matthias Wirtz
2013-04-17 19:23:52 +02:00
parent d9c85e0f11
commit 95a10c1225

View File

@@ -118,7 +118,7 @@
array_push($errors, "PHP support for JSON is required, but was not found.");
}
if (DB_TYPE == "mysql" && !function_exists("mysql_connect")) {
if (DB_TYPE == "mysql" && !function_exists("mysql_connect") && !function_exists("mysqli_connect")) {
array_push($errors, "PHP support for MySQL is required for configured DB_TYPE in config.php.");
}