Merged development into master

This commit is contained in:
NelsonLaQuet 2013-09-02 04:18:07 -05:00
commit 4bc3d3c569

View file

@ -131,7 +131,7 @@
ResourceLogItem::logItem('track', $id, ResourceLogItem::DOWNLOAD, $format['index']); ResourceLogItem::logItem('track', $id, ResourceLogItem::DOWNLOAD, $format['index']);
$response = Response::make('', 200); $response = Response::make('', 200);
$filename = $track->getFileFor($format); $filename = $track->getFileFor($formatName);
if (Config::get('app.sendfile')) { if (Config::get('app.sendfile')) {
$response->header('X-Sendfile', $filename); $response->header('X-Sendfile', $filename);