summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-26 15:51:33 +0100
committerAlib <aliboba@free.fr>2010-02-26 15:51:33 +0100
commita45b72a128f3f6aa520e441f0fcef19d6882b56a (patch)
treeb71e804f8ac5dd73edf15b423195883d47ff4846 /includes
parent39c1ca8f367d9fa60ab02542abcdc2b7dee5b556 (diff)
downloadistreamdev-a45b72a128f3f6aa520e441f0fcef19d6882b56a.tar.gz
istreamdev-a45b72a128f3f6aa520e441f0fcef19d6882b56a.tar.bz2
stripslashes recording path
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/inc_rec.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/inc_rec.php b/includes/inc_rec.php
index 2ff9c38..63b757e 100755
--- a/includes/inc_rec.php
+++ b/includes/inc_rec.php
@@ -26,9 +26,11 @@ print "</div>\r\n";
print "<div id=\"content\">\r\n";
print " <span class=\"graytitle\">Recordings</span>\r\n";
print "<br>";
-print " <span class=\"graytitle\">{$subdir}</span>\r\n";
+print " <span class=\"graytitle\">" . stripslashes($subdir) . "</span>\r\n";
print " <ul class=\"pageitem\">";
+$dir = stripslashes($dir);
+
$dir_handle = @opendir($dir);
if (!$dir_handle)
{