summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-30 12:40:23 +0300
committerAndrew Dolgov <[email protected]>2010-11-30 12:40:23 +0300
commitc3edc667f127b9e36ecc08eb790f6c754e413e8f (patch)
tree0c582d5dfd803c72d13127ce1eeb92c69328069f /modules
parentd769a0f75a42323a38cce3637629a4750443e67c (diff)
use html5 audio player instead of flash when possible
Diffstat (limited to 'modules')
-rw-r--r--modules/backend-rpc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 239ff60f6..1447634bf 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -307,6 +307,9 @@
// XML method
if ($subop == "sanityCheck") {
+
+ $_SESSION["hasAudio"] = $_REQUEST["hasAudio"] === "true";
+
print "<rpc-reply>";
if (sanity_check($link)) {
print "<error error-code=\"0\"/>";