mirror of https://github.com/BOINC/boinc.git
web: fix explode() arg order
This commit is contained in:
parent
19342b7b83
commit
41068fb802
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue