From 6771247b204b0a2cb294de15801cb0539535315b Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Sat, 21 Mar 2026 13:15:36 +0800 Subject: [PATCH] update --- app/Http/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/functions.php b/app/Http/functions.php index 5f8d727..e5e3d3c 100755 --- a/app/Http/functions.php +++ b/app/Http/functions.php @@ -502,7 +502,7 @@ function friendly_date2($sTime, $cTime = false, $type = 'mohu', $show_after_or_b // 获取当前域名 function getDomain() { - return get_http_type() . $_SERVER['HTTP_HOST']; + return config('app.url'); } /**