diff options
author | Alib <aliboba@free.fr> | 2010-02-28 18:51:20 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-28 18:51:20 +0100 |
commit | 57c3019cd2f8f28add55baee1fec97b2ee5c5d4b (patch) | |
tree | b6a179fc031477fc8031c9017ad109ab89710c6e | |
parent | 89d906ebf9be8bb8b972e89414cda00a6d2a91fe (diff) | |
download | istreamdev-57c3019cd2f8f28add55baee1fec97b2ee5c5d4b.tar.gz istreamdev-57c3019cd2f8f28add55baee1fec97b2ee5c5d4b.tar.bz2 |
fix browsing
-rwxr-xr-x | includes/inc_files.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/inc_files.php b/includes/inc_files.php index dc8c0a8..b47719a 100755 --- a/includes/inc_files.php +++ b/includes/inc_files.php @@ -89,7 +89,9 @@ function mediagettype($file) // Get file extension $fileext = end(explode(".", $file)); - + $file = str_replace("\\'", "'", $file); + print ("file=" .$file); + print ("fileext=".$filext); if (is_dir($file)) return 3; if (preg_match("/" .$fileext ." /", $videotypes)) |