summaryrefslogtreecommitdiff
path: root/installer/web.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-15 06:27:17 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-15 06:27:17 -0800
commiteb1cdd037646b3697b64753652669fa9e25a5c8e (patch)
tree2f9dd9bd70329d5997993eced0a9f94a80895b8a /installer/web.php
parente41a2d4e5226c45a5201df91ca6633a40b357630 (diff)
parent409121942590e12692eaf4e6e9e8b71bfe5ed60c (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'installer/web.php')
-rw-r--r--installer/web.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/web.php b/installer/web.php
index 90143afb..0a3cdb6e 100644
--- a/installer/web.php
+++ b/installer/web.php
@@ -38,7 +38,7 @@ if (installer::already_installed()) {
"dbname" => $_POST["dbname"],
"prefix" => $_POST["prefix"],
"type" => function_exists("mysqli_set_charset") ? "mysqli" : "mysql");
- list ($config["host"], $config["port"]) = explode(":", $config["host"]);
+ list ($config["host"], $config["port"]) = explode(":", $config["host"] . ":");
if (!installer::connect($config)) {
$content = render("invalid_db_info.html.php");