jablonka.czprosek.czf

weathermap

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

Show entire file Ignore whitespace

Rev 18 Rev 83
Line 24... Line 24...
$outbw=-1; $outbw=-1;
$data_time = 0; $data_time = 0;
   
$matches=0; $matches=0;
   
$fd=fopen($targetstring, "r"); // $fd=fopen($targetstring, "r");
  $timeout = 2;
  $old = ini_set('default_socket_timeout', $timeout);
  $fd = fopen($targetstring, 'r');
  ini_set('default_socket_timeout', $old);
  stream_set_timeout($fd, $timeout);
  stream_set_blocking($fd, 0);
   
   
   
   
if ($fd) if ($fd)
{ {
while (!feof($fd)) while (!feof($fd))
{ {

Powered by WebSVN 2.2.1