From 346be22ea9a280155d379bf05ebd4f8ca8b396b5 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sat, 13 Aug 2022 17:04:06 +0800 Subject: [PATCH] change comment --- src/ZM/Utils/HttpUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZM/Utils/HttpUtil.php b/src/ZM/Utils/HttpUtil.php index d659be35..d10d0a64 100644 --- a/src/ZM/Utils/HttpUtil.php +++ b/src/ZM/Utils/HttpUtil.php @@ -114,8 +114,8 @@ class HttpUtil ->withBody(HttpFactory::getInstance()->createStream(file_get_contents($path . '/' . $vp))); } } - // 如果文件存在,则直接返回文件内容 } elseif (is_file($path)) { + // 如果文件存在,则直接返回文件内容 logger()->info('[200] ' . $uri); $exp = strtolower(pathinfo($path)['extension'] ?? 'unknown'); return HttpFactory::getInstance()->createResponse()