e
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -34,7 +34,7 @@ class FilesController extends Controller | ... | @@ -34,7 +34,7 @@ class FilesController extends Controller |
| 34 | public function preview(File $file) | 34 | public function preview(File $file) |
| 35 | { | 35 | { |
| 36 | $path = storage_path('app/') . $file->path . $file->name_thumbnail; | 36 | $path = storage_path('app/') . $file->path . $file->name_thumbnail; |
| 37 | $handler = new \Symfony\Component\HttpFoundation\File\File($path); | 37 | $handler = new File($path); |
| 38 | 38 | ||
| 39 | $lifetime = 31556926; // One year in seconds | 39 | $lifetime = 31556926; // One year in seconds |
| 40 | 40 | ... | ... |
-
Please register or sign in to post a comment