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();