summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-28 18:51:20 +0100
committerAlib <aliboba@free.fr>2010-02-28 18:51:20 +0100
commit57c3019cd2f8f28add55baee1fec97b2ee5c5d4b (patch)
treeb6a179fc031477fc8031c9017ad109ab89710c6e /includes
parent89d906ebf9be8bb8b972e89414cda00a6d2a91fe (diff)
downloadistreamdev-57c3019cd2f8f28add55baee1fec97b2ee5c5d4b.tar.gz
istreamdev-57c3019cd2f8f28add55baee1fec97b2ee5c5d4b.tar.bz2
fix browsing
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/inc_files.php4
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))