web: fix explode() arg order

This commit is contained in:
David Anderson 2014-10-02 00:54:17 -07:00
parent 19342b7b83
commit 41068fb802
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class DbConn {
function init_conn($user, $passwd, $host, $name) {
if (MYSQLI) {
$x = explode($host, ":");
$x = explode(":", $host);
if (sizeof($x)>1) {
$host = $x[0];
$port = $x[1];