From 83e1517c935d9ab2f7d43fea5019ade6349c6acc Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Fri, 28 Mar 2025 21:12:12 +0800 Subject: [PATCH] no message --- src/Services/TomTool/VisitorCount.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Services/TomTool/VisitorCount.php b/src/Services/TomTool/VisitorCount.php index 7bba13db..2cea07ea 100755 --- a/src/Services/TomTool/VisitorCount.php +++ b/src/Services/TomTool/VisitorCount.php @@ -47,7 +47,9 @@ final class VisitorCount $host = substr($host, 4); // 去掉 'www.' } - return $host; + $path = isset($parsedUrl['path']) ? $parsedUrl['path'] : ''; + + return $host . $path; }