2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 00:36:25 +00:00

01_FHEMWEB.pm: fixing RSS

git-svn-id: https://svn.fhem.de/fhem/trunk@7526 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-01-11 17:50:56 +00:00
parent 0c43ee1450
commit 5fffcb5f19
2 changed files with 5 additions and 2 deletions

View File

@ -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://...

View File

@ -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