summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xincludes/inc_files.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/inc_files.php b/includes/inc_files.php
index b47719a..c6374d8 100755
--- a/includes/inc_files.php
+++ b/includes/inc_files.php
@@ -90,8 +90,7 @@ 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))