From 2f155e6a2d38e6dfe5faa82965c487179dbc76f0 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Fri, 28 Dec 2018 22:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=A4=B4=E5=83=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/service/UserService.php b/application/service/UserService.php index 2a543f795..8a79f79ab 100755 --- a/application/service/UserService.php +++ b/application/service/UserService.php @@ -729,7 +729,7 @@ class UserService // 开始处理图片存储 // 定义图片目录 - $root_path = __MY_ROOT__; + $root_path = ROOT.'public'.DS; $img_path = 'static'.DS.'upload'.DS.'images'.DS.'user_avatar'.DS; $date = DS.date('Y').DS.date('m').DS.date('d').DS; -- GitLab