From c33ac93b2b4c82c502898eb5f8afe3197c456af6 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 22 Jan 2009 19:51:52 +0000 Subject: Require mysqli_set_charset to use the mysqli extension --- installer/cli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installer/cli.php') diff --git a/installer/cli.php b/installer/cli.php index 44ba1e47..93d4d502 100644 --- a/installer/cli.php +++ b/installer/cli.php @@ -73,7 +73,7 @@ function parse_cli_params() { "password" => "", "dbname" => "gallery3", "prefix" => "", - "type" => function_exists("mysqli_init") ? "mysqli" : "mysql"); + "type" => function_exists("mysqli_set_charset") ? "mysqli" : "mysql"); $argv = $_SERVER["argv"]; for ($i = 1; $i < count($argv); $i++) { -- cgit v1.2.3