diff options
-rwxr-xr-x | includes/inc_files.php | 3 |
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)) |