[FIX #2565] New Uptime Robot HTTPS URL
This commit is contained in:
parent
2549e40c07
commit
586ca79601
@ -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 @@ if (!$smarty->isCached('master.tpl', $smarty_cache_key)) {
|
||||
));
|
||||
$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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user