Compare commits
2 Commits
1c658c883b
...
4a7c0dc4b7
| Author | SHA1 | Date |
|---|---|---|
|
|
4a7c0dc4b7 | |
|
|
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