diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-26 03:31:27 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-26 03:31:27 +0000 |
commit | 0650083e4c69811c949ffb79cd0b298b3e05a89e (patch) | |
tree | 7f5706d23b850ae524307f83bbe2656ebd8307d3 /play/index.php | |
parent | f5a947aa0c2d197d679a3ff53ae17cfdaad41eae (diff) | |
download | ampache-0650083e4c69811c949ffb79cd0b298b3e05a89e.tar.gz ampache-0650083e4c69811c949ffb79cd0b298b3e05a89e.tar.bz2 ampache-0650083e4c69811c949ffb79cd0b298b3e05a89e.zip |
fixed a stupid bug with rate limiting
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php index 65cdf8e4..a02defcb 100644 --- a/play/index.php +++ b/play/index.php @@ -302,7 +302,6 @@ $minBytesStreamed = $song->size / 2; while (!feof($fp) && (connection_status() == 0)) { $buf = fread($fp, $chunk_size); print($buf); - if ($GLOBALS['user']->prefs['rate_limit'] > 0) { sleep (1); } $bytesStreamed += $chunk_size; } |