diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-19 07:48:48 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-19 07:48:48 +0000 |
commit | ff19e4cfe81a832ddd39cc868d3a5d23e7831eba (patch) | |
tree | 65d20867aa16de377bb94e577395068ed4a4c4dd | |
parent | 7c6ceae4b5890842982c5de80e6e20d145c23454 (diff) |
Remove the prefix arg, we don't support it yet.
-rw-r--r-- | installer/installer.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/installer/installer.php b/installer/installer.php index 50ec97a2..d909c14c 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -114,9 +114,6 @@ class installer { case "-p": $config["password"] = $argv[++$i]; break; - case "-t": - $config["prefix"] = $argv[++$i]; - break; } } @@ -140,7 +137,7 @@ class installer { $config["dbname"]); } - if (mysql_num_rows(mysql_query("SHOW TABLES FROM {$config['dbname']}"))) { + if (empty($errors) && mysql_num_rows(mysql_query("SHOW TABLES FROM {$config['dbname']}"))) { $errors["Database"] = sprintf( "Database '%s' exists and has tables in it, continuing may overwrite an existing install", $config["dbname"]); |