From 3d72b276b17a920a3f319afd2aec44d7bdf7a40e Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 24 Feb 2010 22:54:18 +0100 Subject: Better management of audio/video media --- includes/inc_files.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'includes/inc_files.php') diff --git a/includes/inc_files.php b/includes/inc_files.php index f593ba9..7a6f5a8 100755 --- a/includes/inc_files.php +++ b/includes/inc_files.php @@ -1,5 +1,7 @@ $audioext) + if (glob($dir .'*.' .$audioext)) + return 1; + return 0; +} -- cgit v1.2.3