Lint php
parent
c3ddd4087f
commit
71323da83a
|
@ -184,7 +184,7 @@ class VideoController extends ApiBase
|
||||||
$response = new DataDisplayResponse($blob, Http::STATUS_OK, []);
|
$response = new DataDisplayResponse($blob, Http::STATUS_OK, []);
|
||||||
$response->setHeaders([
|
$response->setHeaders([
|
||||||
'Content-Type' => $liveFile->getMimeType(),
|
'Content-Type' => $liveFile->getMimeType(),
|
||||||
'Content-Disposition' => "attachment; filename=\"$name\"",
|
'Content-Disposition' => "attachment; filename=\"{$name}\"",
|
||||||
]);
|
]);
|
||||||
$response->cacheFor(3600 * 24, false, false);
|
$response->cacheFor(3600 * 24, false, false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue