git.cweiske.de
/
playVideoOnDreamboxProxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add simple web interface to paste a page URL
[playVideoOnDreamboxProxy.git]
/
www
/
play.php
diff --git
a/www/play.php
b/www/play.php
index 810995123a9881030249c296421364ec3b657b45..502e3f24ce50c1b703fea9ce6cb73609b6def223 100644
(file)
--- a/
www/play.php
+++ b/
www/play.php
@@
-8,6
+8,11
@@
if (file_exists($cfgFile)) {
include $cfgFile;
}
+if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'GET') {
+ require __DIR__ . '/form.php';
+ exit();
+}
+
set_error_handler('errorHandlerStore');
$pageUrl = getPageUrl();