diff options
author | Minteck <nekostarfan@gmail.com> | 2021-09-11 19:42:09 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-09-11 19:42:09 +0200 |
commit | 2c014c29f2cf7a519152937f82ff67c0ef23d84f (patch) | |
tree | 158ce653bc4ff3edbb59ce6fbd3f9d94ef594a6a /oworadio/source/index.php | |
parent | 067d7fa420f6f07f1a26586f293f92f7f40e3d05 (diff) | |
download | main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.gz main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.bz2 main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.zip |
Commit
Diffstat (limited to 'oworadio/source/index.php')
-rw-r--r-- | oworadio/source/index.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/oworadio/source/index.php b/oworadio/source/index.php new file mode 100644 index 0000000..4436bac --- /dev/null +++ b/oworadio/source/index.php @@ -0,0 +1,14 @@ +<?php
+
+$file = 'http://localhost:8000/public';
+
+header('Content-Description: File Transfer');
+header('Content-Type: application/octet-stream');
+header('Content-Transfer-Encoding: binary');
+header('Expires: 0');
+header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
+header('Pragma: public');
+ob_clean();
+flush();
+readfile($file);
+exit;
\ No newline at end of file |