]> git.wh0rd.org - tt-rss.git/commitdiff
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
authorAndrew Dolgov <fox@fakecake.org>
Wed, 17 Apr 2013 17:40:13 +0000 (21:40 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Wed, 17 Apr 2013 17:40:13 +0000 (21:40 +0400)
include/sanity_check.php

index a5c682be858211889a77ead4b503e281aceef6ec..b2888b1d7e65d50591f5cfebb30c48acace68b7d 100644 (file)
                                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.");
                        }