diff options
author | Andrew Dolgov <[email protected]> | 2013-04-17 21:40:13 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-17 21:40:13 +0400 |
commit | fa8e7ea2613e611a9c532bb923727de352a53b2a (patch) | |
tree | 56f44a7455b5df17039a817e0c10edabb439233e /include | |
parent | 0630a100d5f863ab7a3b04f7be7dcce5cafbaf8a (diff) | |
parent | ebd56fc0d15050e6c97b9ae2e962fe4a4dfb773d (diff) |
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
Diffstat (limited to 'include')
-rw-r--r-- | include/sanity_check.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php index a5c682be8..b2888b1d7 100644 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -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."); } |