summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-05-31 14:58:07 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-05-31 14:58:07 +0000
commit66ca8bc58837855a95042df3392cc360c7dad207 (patch)
tree6dc6e0d1c329258bc6cbf23c6d3a8c9058597315 /pages
parent9a1f80da1ac3511c512cf258cff5fd13b27c95ea (diff)
downloadvdr-plugin-live-66ca8bc58837855a95042df3392cc360c7dad207.tar.gz
vdr-plugin-live-66ca8bc58837855a95042df3392cc360c7dad207.tar.bz2
- looking up paths now with MapUrl
Diffstat (limited to 'pages')
-rw-r--r--pages/content.ecpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/pages/content.ecpp b/pages/content.ecpp
index 7826113..d8ff0e7 100644
--- a/pages/content.ecpp
+++ b/pages/content.ecpp
@@ -9,9 +9,6 @@ using namespace std;
using namespace vdrlive;
</%pre>
-<%args>
-string file;
-</%args>
<%session scope="global">
bool logged_in(false);
</%session>
@@ -19,9 +16,8 @@ bool logged_in(false);
//if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
reply.setContentType("image/png");
-//reply.setContentType("text/plain");
-FileCache::ptr_type f = LiveFileCache().get("/tmp/live/" + file);
+FileCache::ptr_type f = LiveFileCache().get("/tmp/live" + request.getPathInfo());
if (f.get() == 0)
throw tnt::NotFoundException(request.getUrl());