diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-26 07:54:28 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-26 07:54:28 +0000 |
commit | 08b4f1e0478228fdb4d27930b3be927cb2429833 (patch) | |
tree | 8f06ee2212cd69654b87e5da9e39ffa7f728511d /play/index.php | |
parent | 25e3f1a829a0ffc77c551a5942a7490d9f23f92a (diff) | |
download | ampache-08b4f1e0478228fdb4d27930b3be927cb2429833.tar.gz ampache-08b4f1e0478228fdb4d27930b3be927cb2429833.tar.bz2 ampache-08b4f1e0478228fdb4d27930b3be927cb2429833.zip |
I need to go to bed now
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 f1badb27..c84545b1 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') AND conf('downsample_remote')) { +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); |