diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-26 07:52:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-26 07:52:05 +0000 |
commit | cff8e731529103c63da1c2ef8e3dd0b91686b1c2 (patch) | |
tree | 3574642cbed6bdec1ca93f77d309cf941a6fa909 /play/index.php | |
parent | 3ccf8570aa6c2070e15bcd03fa0fa0351a80fba5 (diff) | |
download | ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.tar.gz ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.tar.bz2 ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.zip |
fixed acls and improved the classic theme a little more
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 4 |
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); |