jablonka.czprosek.czf

weathermap

Subversion Repositories:
[/] [lib/] [datasources/] [WeatherMapDataSource_mrtg.php] - Diff between revs 1 and 4

Show entire file Ignore whitespace

Rev 1 Rev 4
Line 37... Line 37...
if (preg_match("/<\!-- cuin d (\d+) -->/", $buffer, $matches)) { $inbw=$matches[1] * 8; } if (preg_match("/<\!-- cuin d (\d+) -->/", $buffer, $matches)) { $inbw=$matches[1] * 8; }
   
if (preg_match("/<\!-- cuout d (\d+) -->/", $buffer, $matches)) { $outbw=$matches[1] * 8; } if (preg_match("/<\!-- cuout d (\d+) -->/", $buffer, $matches)) { $outbw=$matches[1] * 8; }
} }
fclose($fd); fclose($fd);
$data_time = filemtime($targetstring); # $data_time = filemtime($targetstring);
  $data_time = 0;
} }
else { else {
// some error code to go in here // some error code to go in here
debug ("MRTG ReadData: Couldn't open ($targetstring). \n"); } debug ("MRTG ReadData: Couldn't open ($targetstring). \n"); }
   

Powered by WebSVN 2.2.1