mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 11:09:11 +08:00
PHP 7.4 implode compatibility fix
Signed-off-by: Beta Soft <betaxab@gmail.com>
This commit is contained in:
parent
0486f4e6ac
commit
f274cb0d4b
0
app/Utils/Helper.php
Executable file → Normal file
0
app/Utils/Helper.php
Executable file → Normal file
@ -43,7 +43,7 @@ class QuantumultX
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$uri = implode($config, ',');
|
$uri = implode(',', $config);
|
||||||
$uri .= "\r\n";
|
$uri .= "\r\n";
|
||||||
return $uri;
|
return $uri;
|
||||||
}
|
}
|
||||||
@ -61,7 +61,7 @@ class QuantumultX
|
|||||||
"tag={$server->name}"
|
"tag={$server->name}"
|
||||||
];
|
];
|
||||||
$config = array_filter($config);
|
$config = array_filter($config);
|
||||||
$uri = implode($config, ',');
|
$uri = implode(',', $config);
|
||||||
$uri .= "\r\n";
|
$uri .= "\r\n";
|
||||||
return $uri;
|
return $uri;
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ class Surge
|
|||||||
"tfo=true"
|
"tfo=true"
|
||||||
];
|
];
|
||||||
$config = array_filter($config);
|
$config = array_filter($config);
|
||||||
$uri = implode($config, ',');
|
$uri = implode(',', $config);
|
||||||
$uri .= "\r\n";
|
$uri .= "\r\n";
|
||||||
return $uri;
|
return $uri;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user