diff options
author | Andrew Dolgov <[email protected]> | 2013-04-17 18:56:13 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-17 18:56:13 +0400 |
commit | ae35bb87ebcf08007a6086f136b98cba2448d34f (patch) | |
tree | a3f6f19b0c24b01e73218880e8d825b84b7a8d8c /install | |
parent | a42c55f02b7e313ab61bf826794d0888f2dceae1 (diff) |
support mysqli when available
Diffstat (limited to 'install')
-rw-r--r-- | install/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/index.php b/install/index.php index 1aae5da83..99339aca2 100644 --- a/install/index.php +++ b/install/index.php @@ -44,7 +44,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."); } |