summaryrefslogtreecommitdiffstats
path: root/localplay.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-10 09:27:42 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-10 09:27:42 +0000
commit2f5c09b55c9f0f4149d2ae3ff41678807dab322a (patch)
tree27a1ab5be2047c970f15c590e8bf530d88a1d585 /localplay.php
parent65912668d225fd72a8efb9f73520609523be400b (diff)
downloadampache-2f5c09b55c9f0f4149d2ae3ff41678807dab322a.tar.gz
ampache-2f5c09b55c9f0f4149d2ae3ff41678807dab322a.tar.bz2
ampache-2f5c09b55c9f0f4149d2ae3ff41678807dab322a.zip
updated locales, hopefully one of the last commits before 3.4 stable release
Diffstat (limited to 'localplay.php')
-rw-r--r--localplay.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/localplay.php b/localplay.php
index 9b2e0ed2..98ff57c0 100644
--- a/localplay.php
+++ b/localplay.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2007 Ampache.org
+ Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -24,8 +24,9 @@ require 'lib/init.php';
show_header();
// Check to see if we've got the rights to be here
-if (!Config::get('allow_localplay_playback') || !$GLOBALS['user']->has_access('25')) {
+if (!Config::get('allow_localplay_playback') || !Access::check('interface','25')) {
access_denied();
+ exit;
}