From 0f8685fc9f1adbfcc865667d56af4ef6d4c83efd Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 19 Jan 2009 05:21:37 +0000 Subject: Use mysqli_init() instead of mysqli() as our detector. --- installer/installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installer/installer.php') diff --git a/installer/installer.php b/installer/installer.php index 5266ec3b..9d890cb5 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -93,7 +93,7 @@ class installer { "dbname" => "gallery3", "prefix" => ""); - if (function_exists("mysqli")) { + if (function_exists("mysqli_init")) { $config["type"] = "mysqli"; } else { $config["type"] = "mysql"; -- cgit v1.2.3