From 57c3019cd2f8f28add55baee1fec97b2ee5c5d4b Mon Sep 17 00:00:00 2001 From: Alib Date: Sun, 28 Feb 2010 18:51:20 +0100 Subject: fix browsing --- includes/inc_files.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3