summaryrefslogtreecommitdiff
path: root/includes/inc_files.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/inc_files.php')
-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))