mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 20:52:13 +00:00
SVGcache bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@3261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a594a3bf34
commit
41f5129627
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user