diff options
Diffstat (limited to 'installer/cli.php')
-rw-r--r-- | installer/cli.php | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |