From c27f500ecb938340a376a04e8826911f5d13b1cc Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sun, 29 Jul 2018 09:24:07 +0000 Subject: [PATCH] 01_FHEMWEB.pm: add .log to the list of editable files (Forum #89749) git-svn-id: https://svn.fhem.de/fhem/trunk@17046 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/01_FHEMWEB.pm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index 1ec36a432..ebb2b646b 100644 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -2219,6 +2219,8 @@ FW_fileNameToPath($) return "$FW_icondir/$d/$name"; } elsif($name =~ m/.*gplot$/) { return "$FW_gplotdir/$name"; + } elsif($name =~ m/.*log$/) { + return AttrVal("global", "logdir", "log")."/$name"; } else { return "$MW_dir/$name"; } @@ -3590,7 +3592,8 @@ FW_widgetOverride($$)
  • editFileList
    Specify the list of Files shown in "Edit Files" section. It is a newline separated list of triples, the first is the Title, the next is - the directory to search for, the third the regular expression. Default + the directory to search for as a perl expression(!), the third the + regular expression. Default is: