diff options
Diffstat (limited to 'pages/ibox.ecpp')
-rw-r--r-- | pages/ibox.ecpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/ibox.ecpp b/pages/ibox.ecpp index 7ca6069..e2b2fb8 100644 --- a/pages/ibox.ecpp +++ b/pages/ibox.ecpp @@ -7,6 +7,7 @@ #include <vdr/device.h> #include "exception.h" +#include "setup.h" #include "tools.h" #include "epg_events.h" @@ -17,12 +18,15 @@ using namespace std; <%args> int update; </%args> +<%session scope="global"> +bool logged_in(false); +</%session> <%cpp> + if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); EpgEvents epgEvents; string EMPTY_STR; tChannelID prev_chan; tChannelID next_chan; - reply.setContentType( "application/xml" ); if (cReplayControl::NowReplaying()) { |