mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
01_FHEMWEB.pm: remove forward declaration (Forum #30515)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7601 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9ebe9226a4
commit
f6d17362a1
@ -37,7 +37,7 @@ sub FW_readIcons($);
|
|||||||
sub FW_readIconsFrom($$);
|
sub FW_readIconsFrom($$);
|
||||||
sub FW_returnFileAsStream($$$$$);
|
sub FW_returnFileAsStream($$$$$);
|
||||||
sub FW_roomOverview($);
|
sub FW_roomOverview($);
|
||||||
sub FW_roomStatesForInform($$);
|
#sub FW_roomStatesForInform($$); # Forum 30515
|
||||||
sub FW_select($$$$$@);
|
sub FW_select($$$$$@);
|
||||||
sub FW_serveSpecial($$$$);
|
sub FW_serveSpecial($$$$);
|
||||||
sub FW_showRoom();
|
sub FW_showRoom();
|
||||||
@ -1726,7 +1726,7 @@ FW_style($$)
|
|||||||
my $forceType = ($cfgDB eq 'configDB') ? $cfgDB : "file";
|
my $forceType = ($cfgDB eq 'configDB') ? $cfgDB : "file";
|
||||||
$fileName =~ s,.*/,,g; # Little bit of security
|
$fileName =~ s,.*/,,g; # Little bit of security
|
||||||
my $filePath = FW_fileNameToPath($fileName);
|
my $filePath = FW_fileNameToPath($fileName);
|
||||||
my($err, @content) = FileRead({FileName=>$filePath, ForceType=>$forceType} );
|
my($err, @content) = FileRead({FileName=>$filePath, ForceType=>$forceType});
|
||||||
if($err) {
|
if($err) {
|
||||||
FW_pO "<div id=\"content\">$err</div>";
|
FW_pO "<div id=\"content\">$err</div>";
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user