diff options
author | Andrew Dolgov <[email protected]> | 2013-04-18 00:20:21 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-18 00:20:21 +0400 |
commit | b6a74295915fb354543eadf6c1b658e15faefef7 (patch) | |
tree | e679ec906a09ecabf14f25c80f55364f60aca633 /include | |
parent | e441b5837b84f8313e506a3d1b087f269f4a9fb3 (diff) | |
parent | fa8e7ea2613e611a9c532bb923727de352a53b2a (diff) |
Merge branch 'master' into pdo
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."); } |