summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-26 23:26:43 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-26 23:26:43 +0000
commit1f6887b12d6b0c31d8bd2f6ecc33bf899a5fdb69 (patch)
treefd9b1180816ec69b768a496b310840b408abb278 /play/index.php
parent36e85a4acdc7372c1f27400b385cedf7af5916f6 (diff)
downloadampache-1f6887b12d6b0c31d8bd2f6ecc33bf899a5fdb69.tar.gz
ampache-1f6887b12d6b0c31d8bd2f6ecc33bf899a5fdb69.tar.bz2
ampache-1f6887b12d6b0c31d8bd2f6ecc33bf899a5fdb69.zip
fb on dealie and removed accidently commit to trunk
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index 581b3ce6..1e6d9fd4 100644
--- a/play/index.php
+++ b/play/index.php
@@ -192,7 +192,7 @@ else {
// Send file, possible at a byte offset
-$fp = @fopen($song->file, 'r');
+$fp = @fopen($song->file, 'rb');
if (!is_resource($fp)) {
debug_event('file_read_error',"Error: Unable to open $song->file for reading",'2');