Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bf48b216
authored
2016-04-22 15:50:52 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
e
1 parent
57b52f73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Controllers/FilesController.php
app/Http/Controllers/FilesController.php
View file @
bf48b21
...
...
@@ -34,7 +34,7 @@ class FilesController extends Controller
public
function
preview
(
File
$file
)
{
$path
=
storage_path
(
'app/'
)
.
$file
->
path
.
$file
->
name_thumbnail
;
$handler
=
new
\Symfony\Component\HttpFoundation\File\
File
(
$path
);
$handler
=
new
File
(
$path
);
$lifetime
=
31556926
;
// One year in seconds
...
...
Please
register
or
sign in
to post a comment