mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Landing missing file for the approval queue, fixes 404 error when trying to install the files.
This commit is contained in:
parent
d97ebd058d
commit
22149ee5b9
10
webtools/update/developers/approvalfile.php
Executable file
10
webtools/update/developers/approvalfile.php
Executable file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require"../core/config.php";
|
||||
$filename = basename($_SERVER["PATH_INFO"]);
|
||||
$file = "$repositorypath/approval/$filename";
|
||||
header('Content-Description: File Transfer');
|
||||
header('Content-Type: application/octet-stream');
|
||||
header('Content-Length: ' . filesize($file));
|
||||
header('Content-Disposition: attachment; filename=' . basename($file));
|
||||
readfile($file);
|
||||
?>
|
Loading…
Reference in New Issue
Block a user