吴昊天 2 лет назад
Родитель
Сommit
de40de4f17
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      crmeb/app/common.php

+ 1 - 0
crmeb/app/common.php

@@ -564,6 +564,7 @@ if (!function_exists('put_image')) {
 
 
             //文件保存路径
             //文件保存路径
             ob_start();
             ob_start();
+            $url = str_replace('phar://', '', $url);
             readfile($url);
             readfile($url);
             $img = ob_get_contents();
             $img = ob_get_contents();
             ob_end_clean();
             ob_end_clean();