Permalink
Browse files

Merge pull request #2574 from MPOS/issue-2565-uptimerobot

Issue #2565 uptimerobot
  • Loading branch information...
TheSerapher committed Jul 18, 2017
2 parents 1fcf97d + 586ca79 commit 0387451e28784627a90512057ae4c350a739aea9
Showing with 2 additions and 2 deletions.
  1. +1 −1 include/classes/monitoring.class.php
  2. +1 −1 include/pages/statistics/uptime.inc.php
@@ -12,7 +12,7 @@ class Monitoring extends Base {
public function storeUptimeRobotStatus() {
if ($api_keys = $this->setting->getValue('monitoring_uptimerobot_api_keys')) {
$aJSONData = array();
$url = 'http://api.uptimerobot.com';
$url = 'https://api.uptimerobot.com';
$aMonitors = explode(',', $api_keys);
foreach ($aMonitors as $aData) {
$temp = explode('|', $aData);
@@ -15,7 +15,7 @@
));
$content = 'default.tpl';
} else {
$_SESSION['POPUP'][] = array('CONTENT' => 'UptimeRobot API Key not configured.', 'TYPE' => 'alert alert-warning');
$_SESSION['POPUP'][] = array('CONTENT' => 'UptimeRobot API Key not configured or no data available.', 'TYPE' => 'alert alert-warning');
$content = '';
}
} else {

0 comments on commit 0387451

Please sign in to comment.