summaryrefslogtreecommitdiff
path: root/includes/inc_rec.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-26 16:31:38 +0100
committerTheTroll <trolldev@gmail.com>2010-02-26 16:31:38 +0100
commit85ecc835b09b60f183e0be274e9b58388dfb1c60 (patch)
treeba067ef2697de153a49cba1250663a86da6474c3 /includes/inc_rec.php
parentc904edb8d3cb6f03942ba9a65ee7f0ef5646493c (diff)
parenta45b72a128f3f6aa520e441f0fcef19d6882b56a (diff)
downloadistreamdev-85ecc835b09b60f183e0be274e9b58388dfb1c60.tar.gz
istreamdev-85ecc835b09b60f183e0be274e9b58388dfb1c60.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:istreamdev
* 'master' of projects.vdr-developer.org:istreamdev: stripslashes recording path
Diffstat (limited to 'includes/inc_rec.php')
-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)
{