mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
处理前端上传头像
This commit is contained in:
parent
676ce022c4
commit
de40de4f17
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user