summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-26 07:52:05 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-26 07:52:05 +0000
commitcff8e731529103c63da1c2ef8e3dd0b91686b1c2 (patch)
tree3574642cbed6bdec1ca93f77d309cf941a6fa909 /play
parent3ccf8570aa6c2070e15bcd03fa0fa0351a80fba5 (diff)
downloadampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.tar.gz
ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.tar.bz2
ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.zip
fixed acls and improved the classic theme a little more
Diffstat (limited to 'play')
-rw-r--r--play/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/play/index.php b/play/index.php
index 1dbf8ef1..f1badb27 100644
--- a/play/index.php
+++ b/play/index.php
@@ -192,11 +192,11 @@ header("Accept-Ranges: bytes" );
set_time_limit(0);
/* If access control is on and they aren't local, downsample! */
-if (conf('access_control')) {
+//if (conf('access_control') AND conf('downsample_remote')) {
if (!$access->check('network',$_SERVER['REMOTE_ADDR'],$GLOBALS['user']->username,'25')) {
$not_local = true;
}
-} // if access_control
+//} // if access_control
if ($GLOBALS['user']->prefs['play_type'] == 'downsample' || !$song->native_stream() || $not_local) {
$results = start_downsample($song,$lastid,$song_name);