aboutsummaryrefslogtreecommitdiff
path: root/radio
diff options
context:
space:
mode:
Diffstat (limited to 'radio')
-rw-r--r--radio/index.html10
-rw-r--r--radio/index.php12
-rw-r--r--radio/source/index.php14
3 files changed, 36 insertions, 0 deletions
diff --git a/radio/index.html b/radio/index.html
new file mode 100644
index 0000000..6ef6026
--- /dev/null
+++ b/radio/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>$Title$</title>
+</head>
+<body>
+$END$
+</body>
+</html> \ No newline at end of file
diff --git a/radio/index.php b/radio/index.php
new file mode 100644
index 0000000..18bd8fb
--- /dev/null
+++ b/radio/index.php
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>OwORadio</title>
+ <link href="/static/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+</head>
+<body>
+
+</body>
+</html> \ No newline at end of file
diff --git a/radio/source/index.php b/radio/source/index.php
new file mode 100644
index 0000000..4436bac
--- /dev/null
+++ b/radio/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