From ff8cc6dc822f8f774c425ff055e315dc559fb7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Tue, 21 Mar 2023 16:27:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=89=8D=E7=AB=AF=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit de40de4f171ada01f1d276dbd524a0e9db7af858) --- crmeb/app/common.php | 1 + 1 file changed, 1 insertion(+) diff --git a/crmeb/app/common.php b/crmeb/app/common.php index 3c3a4e6cb..ac7806836 100644 --- a/crmeb/app/common.php +++ b/crmeb/app/common.php @@ -564,6 +564,7 @@ if (!function_exists('put_image')) { //文件保存路径 ob_start(); + $url = str_replace('phar://', '', $url); readfile($url); $img = ob_get_contents(); ob_end_clean();