weathermap |
Subversion Repositories: |
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"); } | |
|
|