From 9c003f2ffb066758900c7d55684641db6e275594 Mon Sep 17 00:00:00 2001 From: funadmin <994927909@qq.com> Date: Wed, 15 Dec 2021 16:26:43 +0800 Subject: [PATCH] Update helper.php --- src/helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helper.php b/src/helper.php index c771479..2787b40 100644 --- a/src/helper.php +++ b/src/helper.php @@ -296,9 +296,9 @@ function addons_url($url = '', $param = [], $suffix = true, $domain = false) }); $path= preg_replace("/(\/\[:.*)/",'',$path); if($domain){ - $path= str_replace($domainprefix,$domain,$path); - $array = explode("/", $path); - $path = implode("/", array_slice($array, 1)); +// $path= str_replace($domainprefix,$domain,$path); +// $array = explode("/", $path); +// $path = implode("/", array_slice($array, 1)); //手否完整域名 if (!is_bool($domain) && strpos($domain,'.')!==false) { return httpType() . $domain .'/' . $path;