From c47d063ff2076ee38daded85fedacd02055b63a2 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 24 Feb 2010 23:25:13 +0100 Subject: Fixed aac/wav files --- includes/inc_files.php | 12 ++++++++---- includes/include.php | 2 -- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'includes') diff --git a/includes/inc_files.php b/includes/inc_files.php index 0a48aeb..266059d 100755 --- a/includes/inc_files.php +++ b/includes/inc_files.php @@ -1,6 +1,6 @@ $audioext) + { if (glob($dir .'*.' .$audioext)) return 1; + } + return 0; } diff --git a/includes/include.php b/includes/include.php index a409f45..f8819dd 100755 --- a/includes/include.php +++ b/includes/include.php @@ -10,8 +10,6 @@ include ('includes/inc_vdr.php'); include ('includes/inc_files.php'); include ('includes/inc_streaminfo.php'); -$audiotypes='mp3 aac'; - function selectpage() { $action = $_REQUEST['action']; -- cgit v1.2.3