Fix length

This commit is contained in:
An Phan 2016-02-01 15:04:16 +08:00
parent e317d2d955
commit 21567032ab

View file

@ -77,6 +77,7 @@ class PHPStreamer extends BaseStreamer implements StreamerInterface
$length = $end - $start + 1; $length = $end - $start + 1;
} else { } else {
// No range requested // No range requested
$length = filesize($this->song->path);
$partial = false; $partial = false;
} }