Skip to content

Commit 586ca79

Browse files
committed
[FIX #2565] New Uptime Robot HTTPS URL
1 parent 2549e40 commit 586ca79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: include/classes/monitoring.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Monitoring extends Base {
1212
public function storeUptimeRobotStatus() {
1313
if ($api_keys = $this->setting->getValue('monitoring_uptimerobot_api_keys')) {
1414
$aJSONData = array();
15-
$url = 'http://api.uptimerobot.com';
15+
$url = 'https://api.uptimerobot.com';
1616
$aMonitors = explode(',', $api_keys);
1717
foreach ($aMonitors as $aData) {
1818
$temp = explode('|', $aData);

Diff for: include/pages/statistics/uptime.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
));
1616
$content = 'default.tpl';
1717
} else {
18-
$_SESSION['POPUP'][] = array('CONTENT' => 'UptimeRobot API Key not configured.', 'TYPE' => 'alert alert-warning');
18+
$_SESSION['POPUP'][] = array('CONTENT' => 'UptimeRobot API Key not configured or no data available.', 'TYPE' => 'alert alert-warning');
1919
$content = '';
2020
}
2121
} else {

0 commit comments

Comments
 (0)