Skip to content
Snippets Groups Projects
Commit fd74e43a authored by Robin Appelman's avatar Robin Appelman
Browse files

fix expire header for media player

parent c0789665
No related branches found
No related tags found
No related merge requests found
......@@ -129,8 +129,7 @@ if($arguments['action']){
// calc the string in GMT not localtime and add the offset
$expire = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
//output the HTTP header
Header($expire);
header('Expires: 0');
header($expire);
header('Cache-Control: max-age=3600, must-revalidate');
header('Pragma: public');
header('Accept-Ranges: bytes');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment