2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 10:46:03 +00:00

Debug removed

git-svn-id: https://svn.fhem.de/fhem/trunk@931 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-07-07 07:30:10 +00:00
parent 77db35d3d5
commit 7766c546d8

View File

@ -310,16 +310,13 @@ FW_AnswerCall($)
$FW_tp = AttrVal($FW_wname, "touchpad", $FW_ss); $FW_tp = AttrVal($FW_wname, "touchpad", $FW_ss);
# Lets go: # Lets go:
Log 1, "ARG: $arg";
if($arg =~ m,^${FW_ME}/(example.*|.*html)$,) { if($arg =~ m,^${FW_ME}/(example.*|.*html)$,) {
my $f = $1; my $f = $1;
Log 1, "GOT: $f";
$f =~ s,/,,g; # little bit of security $f =~ s,/,,g; # little bit of security
open(FH, "$FW_dir/$f") || return; open(FH, "$FW_dir/$f") || return;
pO join("", <FH>); pO join("", <FH>);
close(FH); close(FH);
$FW_RETTYPE = "text/plain; charset=ISO-8859-1" if($f !~ m/\.*html$/); $FW_RETTYPE = "text/plain; charset=ISO-8859-1" if($f !~ m/\.*html$/);
Log 1, "RT: $FW_RETTYPE";
return 1; return 1;
} elsif($arg =~ m,^$FW_ME/(.*).css,) { } elsif($arg =~ m,^$FW_ME/(.*).css,) {