Merged development into master

This commit is contained in:
NelsonLaQuet 2013-09-01 06:27:07 -05:00
commit 3745aacd34

View file

@ -27,6 +27,11 @@
$response->header('Content-Disposition', 'filename="' . $filename . '"'); $response->header('Content-Disposition', 'filename="' . $filename . '"');
$response->header('Content-Type', 'image/png'); $response->header('Content-Type', 'image/png');
$lastModified = filemtime($filename);
header('Last-Modified: ' . $lastModified);
header('Cache-Control: max-age=' . (60 * 60 * 24 * 7));
return $response; return $response;
} }
} }