summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-21 18:26:00 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-21 18:26:00 +0000
commit090d4f6899a456a535d392a93fdfddb6d2263f13 (patch)
treef895b16856a6b1e72628f90040a69426314b8351 /play/index.php
parent9ded189f8c466838c4a1913126383ee21061e102 (diff)
downloadampache-090d4f6899a456a535d392a93fdfddb6d2263f13.tar.gz
ampache-090d4f6899a456a535d392a93fdfddb6d2263f13.tar.bz2
ampache-090d4f6899a456a535d392a93fdfddb6d2263f13.zip
some temporary tweaks to make the whole amarok thing work, will be tweaking this as it is currently slightly insecure
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php
index 1efd36ef..7577b396 100644
--- a/play/index.php
+++ b/play/index.php
@@ -92,6 +92,7 @@ $user->update_last_seen();
if (Config::get('demo_mode') || (!$GLOBALS['user']->has_access('25') && !$xml_rpc) ) {
debug_event('access_denied',"Streaming Access Denied:" .Config::get('demo_mode') . "is the value of demo_mode. Current user level is " . $GLOBALS['user']->access,'3');
access_denied();
+ exit;
}
/*