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 {
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 );
Original file line number Diff line number Diff line change 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 {
You can’t perform that action at this time.
0 commit comments