diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-05 07:23:09 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-05 07:23:09 +0000 |
commit | 220625cedad4bc3a400d9bc0c0c6f0a103b7398f (patch) | |
tree | b9455f9b11b517f863c53c06566c9ddfff6328b2 /stream.php | |
parent | 98fef66fec24524e308add41e9af1177238981ed (diff) | |
download | ampache-220625cedad4bc3a400d9bc0c0c6f0a103b7398f.tar.gz ampache-220625cedad4bc3a400d9bc0c0c6f0a103b7398f.tar.bz2 ampache-220625cedad4bc3a400d9bc0c0c6f0a103b7398f.zip |
fixed flash player issues with specific playlist_methods
Diffstat (limited to 'stream.php')
-rw-r--r-- | stream.php | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2008 ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -21,8 +21,7 @@ require_once 'lib/init.php'; /* If we are running a demo, quick while you still can! */ -if (Config::get('demo_mode') || !$GLOBALS['user']->has_access('25')) { - +if (Config::get('demo_mode') || !Access::check('interface','25')) { access_denied(); exit; } @@ -62,7 +61,7 @@ switch ($_REQUEST['action']) { } // end foreach // Check to see if 'clear' was passed if it was then we need to reset the basket - if ( ($_REQUEST['playlist_method'] == 'clear' || Config::get('playlist_method') == 'clear') AND Config::get('play_method') != 'xspf_player') { + if ( ($_REQUEST['playlist_method'] == 'clear' || Config::get('playlist_method') == 'clear') AND Config::get('play_type') != 'xspf_player') { $GLOBALS['user']->playlist->clear(); } |