File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class Monitoring extends Base {
12
12
public function storeUptimeRobotStatus () {
13
13
if ($ api_keys = $ this ->setting ->getValue ('monitoring_uptimerobot_api_keys ' )) {
14
14
$ aJSONData = array ();
15
- $ url = 'http ://api.uptimerobot.com ' ;
15
+ $ url = 'https ://api.uptimerobot.com ' ;
16
16
$ aMonitors = explode (', ' , $ api_keys );
17
17
foreach ($ aMonitors as $ aData ) {
18
18
$ temp = explode ('| ' , $ aData );
Original file line number Diff line number Diff line change 15
15
));
16
16
$ content = 'default.tpl ' ;
17
17
} 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 ' );
19
19
$ content = '' ;
20
20
}
21
21
} else {
You can’t perform that action at this time.
0 commit comments