Commit ce9e368c authored by David Morley's avatar David Morley

fix pull

parent 3a610c0a
......@@ -182,7 +182,7 @@ if (strpos($row[$i]['pingdomurl'], "pingdom.com")) {
//response time
preg_match_all('/<h3>Avg. resp. time this month<\/h3>
<p class="large">(.*?)</',$pingdom,$matcheach);
<p class="large">(.*?)</',$pingdom,$matcheach);
$responsetime = $matcheach[1][0];
//months monitored
......@@ -191,9 +191,9 @@ $months = count($matchdates[0]);
//uptime %
preg_match_all('/<h3>Uptime this month<\/h3>
<p class="large">(.*?)</',$pingdom,$matchper);
<p class="large">(.*?)</',$pingdom,$matchper);
$uptime = preg_replace("/,/", ".", $matchper[1][0]);
//var_dump($matchper);
//last check
preg_match_all('/<h3>Last checked<\/h3>
<p>(.*?)</',$pingdom,$matchdate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment