From 5fffcb5f196edeec2fbc943bf66b455115517b6d Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 11 Jan 2015 17:50:56 +0000 Subject: [PATCH] 01_FHEMWEB.pm: fixing RSS git-svn-id: https://svn.fhem.de/fhem/trunk@7526 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/01_FHEMWEB.pm | 2 +- fhem/README_DEMO.txt | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index 674ac4108..57226e3e7 100755 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -518,7 +518,7 @@ FW_answerCall($) $iconPath =~ m/(.*)\.([^.]*)/; return FW_serveSpecial($1, $2, $FW_icondir, $cacheable); - } elsif($arg =~ m,^$FW_ME/(.*)/([^/]*)$,) { # the "normal" case + } elsif($arg =~ m,^$FW_ME/(.*)/([^/]*)$, && !$data{FWEXT}{"/$1"}) { my ($dir, $ofile, $ext) = ($1, $2, ""); $dir =~ s/\.\.//g; $dir =~ s,www/,,g; # Want commandref.html to work from file://... diff --git a/fhem/README_DEMO.txt b/fhem/README_DEMO.txt index 978b59663..efe2db863 100644 --- a/fhem/README_DEMO.txt +++ b/fhem/README_DEMO.txt @@ -7,7 +7,10 @@ HOWTO: perl fhem.pl fhem.cfg.demo (typed in a terminal) and point your browser to http://YourFhemHost:8083 Use the startfhemDemo skript on the FritzBox. - + If you'd like to see the RSS demo, you have to install the Perl GD library, + e.g. with: + sudo apt-get install libgd-gd2-perl + sudo apt-get install libgd-text-perl Stopping: - type shutdown in the browser command window, followed by RETURN