listing files in backend
This commit is contained in:
parent
4ac1c34b6a
commit
ccff83fa66
9 changed files with 153 additions and 93 deletions
|
@ -66,4 +66,9 @@ class File extends Model
|
|||
{
|
||||
return storage_path('app/public/' . $this->path_name);
|
||||
}
|
||||
|
||||
public function exists()
|
||||
{
|
||||
return \Illuminate\Support\Facades\File::exists(public_path('storage/' . $this->path_name));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue