From c837dd5752ec436333fe246ce88a90ccfe6eae93 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 12 Jul 2005 07:16:40 +0000 Subject: more mpd fixes and xmlrpc fixes and simplified chinese --- play/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play') diff --git a/play/index.php b/play/index.php index 8228e278..3ab7239b 100644 --- a/play/index.php +++ b/play/index.php @@ -56,7 +56,7 @@ if (conf('require_session') OR $xml_rpc) { } /* If we are in demo mode.. die here */ -if (conf('demo_mode') || !$user->has_access('25')) { +if (conf('demo_mode') || (!$user->has_access('25') && !$xml_rpc) ) { if (conf('debug')) { log_event($user->username,' access_denied ', "Streaming Access Denied, " . conf('demo_mode') . "is the value of demo_mode. Current user level is $user->access"); } -- cgit