summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-01-11 07:33:57 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-01-11 07:33:57 +0000
commitc14387011ede86f3765806e78f3444f1d6e4a9a5 (patch)
tree95f4a529f4c79220598ea7d7578d4a11a3406ec0
parent8c8bdf70251daefbb1084e49254593362494e3c6 (diff)
add a -i parameter that allows the specification of the database type (defaults: mysqli)
-rw-r--r--installer/helpers/installer.php7
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;