summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{