summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-08-21 14:03:35 +0300
committerAndrew Dolgov <[email protected]>2016-08-21 14:03:35 +0300
commite54eb40a8c1ec9fe9387611d890d195f511a4180 (patch)
tree93000c8799b2f0b5e5a79238485b00afb476abde /include/sanity_check.php
parenta005ebb693fe9ad01eb2cb2293e75c589a00d6a0 (diff)
remove support for legacy mysql driver
Diffstat (limited to 'include/sanity_check.php')
-rwxr-xr-xinclude/sanity_check.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index 7ca7519c6..f1181f88c 100755
--- 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") && !function_exists("mysqli_connect")) {
+ if (DB_TYPE == "mysql" && !function_exists("mysqli_connect")) {
array_push($errors, "PHP support for MySQL is required for configured DB_TYPE in config.php.");
}