diff options
Diffstat (limited to 'includes/inc_media.php')
-rwxr-xr-x | includes/inc_media.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/includes/inc_media.php b/includes/inc_media.php deleted file mode 100755 index e0f7cb9..0000000 --- a/includes/inc_media.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -$mediapath = $_REQUEST['mediapath']; -$subdir = $_REQUEST['subdir']; - -/* Add last slash to dirs */ -if ($mediapath[strlen($mediapath)-1] != '/') - $mediapath = $mediapath .'/'; -if ($subdir[strlen($subdir)-1] != '/') - $subdir = $subdir .'/'; - -// Use the right media type -if (mediadirhasaudio($mediapath .$subdir)) - include ('includes/inc_audio.php'); -else - include ('includes/inc_video.php'); -?> |