Storage support for local disk (#165)
* Storage support for local disk * UI change ai feature page --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -43,7 +43,7 @@ class StorageFile implements Rule
|
||||
// This is use when updating a record, and file uploads aren't changed.
|
||||
if($this->form){
|
||||
$newPath = Str::of(PublicFormController::FILE_UPLOAD_PATH)->replace('?', $this->form->id);
|
||||
if(Storage::disk('s3')->exists($newPath.'/'.$value)){
|
||||
if(Storage::exists($newPath.'/'.$value)){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user