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/vlc | |
parent | 067d7fa420f6f07f1a26586f293f92f7f40e3d05 (diff) | |
download | main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.gz main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.bz2 main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.zip |
Commit
Diffstat (limited to 'oworadio/vlc')
-rw-r--r-- | oworadio/vlc/index.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/oworadio/vlc/index.php b/oworadio/vlc/index.php new file mode 100644 index 0000000..a3a8ba4 --- /dev/null +++ b/oworadio/vlc/index.php @@ -0,0 +1,15 @@ +<?php
+
+$m3u = "https://minteck.ro.lt/oworadio/source/\n";
+
+header('Pragma: public');
+header('Expires: 0');
+header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
+header('Cache-Control: private', false); // required for certain browsers
+header('Content-Type: application/pdf');
+
+header('Content-Disposition: attachment; filename="oworadio.m3u";');
+header('Content-Transfer-Encoding: binary');
+header('Content-Length: ' . strlen($m3u));
+
+die($m3u);
\ No newline at end of file |