diff options
author | Tom Adams <tom@holizz.com> | 2009-07-28 06:21:18 +0100 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-29 16:54:29 -0400 |
commit | 605742f039752b90092594e0924c59121befc99c (patch) | |
tree | c8acb08d2ac0a6b31fb02031e6b4d94474489a63 | |
parent | 3350770cc7d4636fa1c0942ed01d5f26a5faa66a (diff) |
Pass $fancy to *_db_installer.
-rw-r--r-- | install.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install.php b/install.php index 334671599..c222afa7b 100644 --- a/install.php +++ b/install.php @@ -219,9 +219,9 @@ function handlePost() } switch($dbtype) { - case 'mysql': mysql_db_installer($host, $database, $username, $password, $sitename); + case 'mysql': mysql_db_installer($host, $database, $username, $password, $sitename, $fancy); break; - case 'pgsql': pgsql_db_installer($host, $database, $username, $password, $sitename); + case 'pgsql': pgsql_db_installer($host, $database, $username, $password, $sitename, $fancy); break; default: } @@ -232,7 +232,7 @@ function handlePost() <?php } -function pgsql_db_installer($host, $database, $username, $password, $sitename) { +function pgsql_db_installer($host, $database, $username, $password, $sitename, $fancy) { $connstring = "dbname=$database host=$host user=$username"; //No password would mean trust authentication used. @@ -298,7 +298,7 @@ function pgsql_db_installer($host, $database, $username, $password, $sitename) { } -function mysql_db_installer($host, $database, $username, $password, $sitename) { +function mysql_db_installer($host, $database, $username, $password, $sitename, $fancy) { updateStatus("Starting installation..."); updateStatus("Checking database..."); |