diff options
author | Andrew Dolgov <[email protected]> | 2013-04-17 10:28:47 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-17 10:28:47 -0700 |
commit | ebd56fc0d15050e6c97b9ae2e962fe4a4dfb773d (patch) | |
tree | 919a7716235c35450a86c0e909664d96f160e7a0 /include | |
parent | d9c85e0f112034ca3e3f4d34213f6dcccf9d54e1 (diff) | |
parent | 95a10c12259cf4e76d8ee95238fccd7589de7a7a (diff) |
Merge pull request #161 from swiffer/master
added mysqli_connect to mysql sanity check
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."); } |