/", $buffer, $matches)) { $inbw=$matches[1] * 8; } if (preg_match("/<\!-- cuout d (\d+) -->/", $buffer, $matches)) { $outbw=$matches[1] * 8; } } fclose($fd); # $data_time = filemtime($targetstring); } else { // some error code to go in here debug ("MRTG ReadData: Couldn't open ($targetstring). \n"); } debug ("MRTG ReadData: Returning ($inbw,$outbw,$data_time)\n"); return ( array($inbw,$outbw,$data_time) ); } } // vim:ts=4:sw=4: ?> WebSVN - weathermap - Blame - Rev 78 - /lib/datasources/WeatherMapDataSource_mrtg.php
  jablonka.czprosek.czf

weathermap

Subversion Repositories:
[/] [lib/] [datasources/] [WeatherMapDataSource_mrtg.php] - Blame information for rev 78

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1