diff --git a/application/api/controller/User.php b/application/api/controller/User.php index c9b70c2..2e128c6 100644 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -679,6 +679,7 @@ class User extends Api $data['water_url'] = $rule.$data['water_url']; $a = file_get_contents($data['water_url']); $path = './uploads/'.explode('/',$base_url)[1].'/'; + $this->error('',$path); if(!file_exists($path)) { mkdir($path,0777,true); }