SVGcache bugfix
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1522,7 +1522,8 @@ FW_showLog($)
|
||||
|
||||
$FW_RETTYPE = "image/svg+xml";
|
||||
|
||||
my $SVGcache = (AttrVal($FW_wname, "SVGcache", undef) && $t lt TimeNow());
|
||||
(my $cachedate = TimeNow()) =~ s/ /_/g;
|
||||
my $SVGcache = (AttrVal($FW_wname, "SVGcache", undef) && $t lt $cachedate);
|
||||
my $cDir = "$FW_dir/SVGcache";
|
||||
my $cName = "$cDir/$wl-$f-$t.svg";
|
||||
if($SVGcache && open(CFH, $cName)) {
|
||||
|
||||
Reference in New Issue
Block a user