Ticket #480: munin-html.2.patch
| File munin-html.2.patch, 0.8 kB (added by human, 3 years ago) |
|---|
-
/usr/share/munin/munin-html
old new 395 395 $service{imgweek}="$node-$service-week.png"; 396 396 $service{imgmonth}="$node-$service-month.png"; 397 397 $service{imgyear}="$node-$service-year.png"; 398 399 for my $scale (@times) 398 } 399 for my $scale (@times) 400 { 401 if (my ($w, $h) = &get_png_size (&munin_get_picture_filename ($config, $domain, $node, $service, $scale))) 400 402 { 401 if (my ($w, $h) = &get_png_size (&munin_get_picture_filename ($config, $domain, $node, $service, $scale)))403 if ($w and $h) 402 404 { 403 405 $service{"img".$scale."width"} = $w; 404 406 $service{"img".$scale."height"} = $h;
