diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-08-22 18:58:36 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-08-22 18:58:36 -0400 |
commit | a201a05d067b7beb191b5e2ce660dabd3c137560 (patch) | |
tree | a7948b64b9a40deb8909578d2cb58724cf3a4345 | |
parent | e9ae64173cad4ebf753a66235757a3beef039baf (diff) | |
download | ampache-a201a05d067b7beb191b5e2ce660dabd3c137560.tar.gz ampache-a201a05d067b7beb191b5e2ce660dabd3c137560.tar.bz2 ampache-a201a05d067b7beb191b5e2ce660dabd3c137560.zip |
Guests should not be able to add radio stations
WTF is this whole "radio station" thing, anyway? Is it at all useful?
-rw-r--r-- | radio.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,7 +27,7 @@ UI::show_header(); // Switch on Action switch ($_REQUEST['action']) { case 'show_create': - if (!Access::check('interface','25')) { + if (!Access::check('interface', 75)) { UI::access_denied(); exit; } @@ -36,7 +36,7 @@ switch ($_REQUEST['action']) { break; case 'create': - if (!Access::check('interface','25') || Config::get('demo_mode')) { + if (!Access::check('interface', 75) || Config::get('demo_mode')) { UI::access_denied(); exit; } |