作者 开飞机的舒克

修改用户管理头像问题

@@ -11,7 +11,7 @@ class Resource @@ -11,7 +11,7 @@ class Resource
11 */ 11 */
12 public static function StudyBar($res){ 12 public static function StudyBar($res){
13 $generate = Generate::bar(); 13 $generate = Generate::bar();
14 - $file_path = $generate->create($res,false,true); 14 + $file_path = $generate->create($res,true,true);
15 $file_path = substr($file_path,strripos($file_path,"public")+6); 15 $file_path = substr($file_path,strripos($file_path,"public")+6);
16 return $file_path; 16 return $file_path;
17 } 17 }