diff --git a/app/Utils/Helper.php b/app/Utils/Helper.php old mode 100755 new mode 100644 diff --git a/app/Utils/QuantumultX.php b/app/Utils/QuantumultX.php index 53f22bb9..e3c0b6af 100644 --- a/app/Utils/QuantumultX.php +++ b/app/Utils/QuantumultX.php @@ -43,7 +43,7 @@ class QuantumultX } } - $uri = implode($config, ','); + $uri = implode(',', $config); $uri .= "\r\n"; return $uri; } @@ -61,7 +61,7 @@ class QuantumultX "tag={$server->name}" ]; $config = array_filter($config); - $uri = implode($config, ','); + $uri = implode(',', $config); $uri .= "\r\n"; return $uri; } diff --git a/app/Utils/Surge.php b/app/Utils/Surge.php index 5f8e6570..18bb6592 100644 --- a/app/Utils/Surge.php +++ b/app/Utils/Surge.php @@ -39,7 +39,7 @@ class Surge "tfo=true" ]; $config = array_filter($config); - $uri = implode($config, ','); + $uri = implode(',', $config); $uri .= "\r\n"; return $uri; }