summaryrefslogtreecommitdiff
path: root/includes/inc_video.php
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-28 19:54:13 +0100
committerAlib <aliboba@free.fr>2010-02-28 19:54:13 +0100
commit9ca351b1ecd54f96606fa62415190a8eede73775 (patch)
treeb7c27f4cd463088d2e0ca211b5a9c75c8df9299c /includes/inc_video.php
parentefe265e1742e568c257478fae6bf8aed64c8a362 (diff)
downloadistreamdev-9ca351b1ecd54f96606fa62415190a8eede73775.tar.gz
istreamdev-9ca351b1ecd54f96606fa62415190a8eede73775.tar.bz2
subdirs now ok
Diffstat (limited to 'includes/inc_video.php')
-rwxr-xr-xincludes/inc_video.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/inc_video.php b/includes/inc_video.php
index dc3f8e0..399326c 100755
--- a/includes/inc_video.php
+++ b/includes/inc_video.php
@@ -2,6 +2,8 @@
$mediapath = $_REQUEST['mediapath'];
$subdir = $_REQUEST['subdir'];
+$mediapath = stripslashes($mediapath);
+$subdir = stripslashes($subdir);
/* Add last slash to dirs */
if ($mediapath[strlen($mediapath)-1] != '/')