feat: 上传路径调整
parent
fe2181cb8c
commit
64d426be51
|
@ -25,7 +25,7 @@ class Upload extends BaseController
|
||||||
}
|
}
|
||||||
$this->validate = new VUpload();
|
$this->validate = new VUpload();
|
||||||
$this->uploadPath = Config::get('filesystem.disks.local.url');
|
$this->uploadPath = Config::get('filesystem.disks.local.url');
|
||||||
if(is_writable(app()->getRootPath() . 'wwwroot' . $this->uploadPath)){
|
if(is_writable(app()->getRootPath() . 'public' . $this->uploadPath)){
|
||||||
$this->uploadPathIsWritable = 1;
|
$this->uploadPathIsWritable = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue