summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorEric Helgeson <erichelgeson@gmail.com>2009-08-03 18:11:06 -0500
committerEric Helgeson <erichelgeson@gmail.com>2009-08-03 18:11:06 -0500
commit0853ed069bb0b323d02cc8fe533ae82c87f68de5 (patch)
tree7ef1445197a5716d15a1ba40a1da6d6dc09b720f /install.php
parent9e611b40c643af9f40b9ef84e02b859205943745 (diff)
parentff6e976d0315c57fc5b7e31845e9a3bad4f095bc (diff)
Merge commit 'origin/0.8.x' into 0.9.x
Diffstat (limited to 'install.php')
-rw-r--r--install.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/install.php b/install.php
index 901e502f1..c222afa7b 100644
--- a/install.php
+++ b/install.php
@@ -77,7 +77,7 @@ function checkPrereqs()
if (!is_writable($fileFullPath)) {
?><p class="error">Cannot write <?php echo $fileSubdir; ?> directory: <code><?php echo $fileFullPath; ?></code></p>
<p>On your server, try this command: <code>chmod a+w <?php echo $fileFullPath; ?></code></p>
- <?
+ <?php
$pass = false;
}
}
@@ -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...");