From c556b64b944a103952ef2b0976063347c973c382 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Sun, 28 Feb 2010 20:10:29 +0100 Subject: Removed debug --- includes/inc_files.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes') 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)) -- cgit v1.2.3