summaryrefslogtreecommitdiffstats
path: root/server/democratic.ajax.php
diff options
context:
space:
mode:
Diffstat (limited to 'server/democratic.ajax.php')
-rw-r--r--server/democratic.ajax.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/democratic.ajax.php b/server/democratic.ajax.php
index 90897a79..123bd3c5 100644
--- a/server/democratic.ajax.php
+++ b/server/democratic.ajax.php
@@ -63,6 +63,14 @@ switch ($_REQUEST['action']) {
ob_end_clean();
break;
+ case 'send_playlist':
+ if (!Access::check('interface','75')) {
+ exit;
+ }
+
+ $_SESSION['iframe']['target'] = Config::get('web_path') . '/stream.php?action=democratic';
+ $results['rfc3514'] = '<script type="text/javascript">reload_util("'.$_SESSION['iframe']['target'].'")</script>';
+ break;
default:
$results['rfc3514'] = '0x1';
break;