jablonka.czprosek.czf

weathermap

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

Show entire file Ignore whitespace

Rev 4 Rev 18
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