diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-11 07:33:57 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-11 07:33:57 +0000 |
commit | c14387011ede86f3765806e78f3444f1d6e4a9a5 (patch) | |
tree | 95f4a529f4c79220598ea7d7578d4a11a3406ec0 | |
parent | 8c8bdf70251daefbb1084e49254593362494e3c6 (diff) |
add a -i parameter that allows the specification of the database type (defaults: mysqli)
-rw-r--r-- | installer/helpers/installer.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/installer/helpers/installer.php b/installer/helpers/installer.php index 3fd8b19f..db5c7741 100644 --- a/installer/helpers/installer.php +++ b/installer/helpers/installer.php @@ -190,7 +190,7 @@ class installer { $arguments["file"] = $argv[++$i]; break; case "-i": - $arguments["type"] = $argv[++i]; + $arguments["type"] = $argv[++$i]; break; case "-m": $arguments["modules"] = $argv[++$i]; @@ -238,11 +238,6 @@ class installer { } - public static function get_database() { - $db_config = array(); - return - } - private static function _render($view) { if ($view == '') return; |