diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-15 06:27:17 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-15 06:27:17 -0800 |
commit | eb1cdd037646b3697b64753652669fa9e25a5c8e (patch) | |
tree | 2f9dd9bd70329d5997993eced0a9f94a80895b8a /installer/installer.php | |
parent | e41a2d4e5226c45a5201df91ca6633a40b357630 (diff) | |
parent | 409121942590e12692eaf4e6e9e8b71bfe5ed60c (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'installer/installer.php')
-rw-r--r-- | installer/installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/installer.php b/installer/installer.php index 57be6cc0..705f1725 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -77,7 +77,7 @@ class installer { // counterparts. if (!function_exists("mysql_query")) { function mysql_connect($host, $user, $pass) { - list ($host, $port) = explode(":", $host); + list ($host, $port) = explode(":", $host . ":"); installer::$mysqli = new mysqli($host, $user, $pass, $port); // http://php.net/manual/en/mysqli.connect.php says to use mysqli_connect_error() instead of // $mysqli->connect_error because of bugs before PHP 5.2.9 |