diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-25 19:22:16 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-25 19:22:16 +0100 |
commit | 627da0570e79865643ae3c23c0f5244ac46d5d68 (patch) | |
tree | da526f76a8176a0f182f275f5834bccc7c8a0e59 /includes/inc_media.php | |
parent | c57e43d3caa214c0067ed1ec452fc5cd94c67121 (diff) | |
download | istreamdev-627da0570e79865643ae3c23c0f5244ac46d5d68.tar.gz istreamdev-627da0570e79865643ae3c23c0f5244ac46d5d68.tar.bz2 |
Added a source type and now show the media browsing respect to the type
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'); -?> |