summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-18 00:20:21 +0400
committerAndrew Dolgov <[email protected]>2013-04-18 00:20:21 +0400
commitb6a74295915fb354543eadf6c1b658e15faefef7 (patch)
treee679ec906a09ecabf14f25c80f55364f60aca633 /include
parente441b5837b84f8313e506a3d1b087f269f4a9fb3 (diff)
parentfa8e7ea2613e611a9c532bb923727de352a53b2a (diff)
Merge branch 'master' into pdo
Diffstat (limited to 'include')
-rw-r--r--include/sanity_check.php2
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.");
}