parent
7cf3fb27fb
commit
c8fbc369cf
@ -39,7 +39,7 @@ if ($price = $tools->getPrice()) {
|
|||||||
|
|
||||||
// Update Uptime Robot status in Settings table via API call
|
// Update Uptime Robot status in Settings table via API call
|
||||||
if ($api_keys = $setting->getValue('monitoring_uptimerobot_api_keys')) {
|
if ($api_keys = $setting->getValue('monitoring_uptimerobot_api_keys')) {
|
||||||
if (!strstr($api_keys, '<API KEY>|<MONITOR ID>')) {
|
if (!strstr($api_keys, 'MONITOR_API_KEY|MONITOR_NAME')) {
|
||||||
$monitoring->setTools($tools);
|
$monitoring->setTools($tools);
|
||||||
if (!$monitoring->storeUptimeRobotStatus()) {
|
if (!$monitoring->storeUptimeRobotStatus()) {
|
||||||
$log->logError($monitoring->getCronError());
|
$log->logError($monitoring->getCronError());
|
||||||
|
|||||||
@ -386,7 +386,7 @@ $aSettings['recaptcha'][] = array(
|
|||||||
$aSettings['monitoring'][] = array(
|
$aSettings['monitoring'][] = array(
|
||||||
'display' => 'Uptime Robot Private API Key', 'type' => 'text',
|
'display' => 'Uptime Robot Private API Key', 'type' => 'text',
|
||||||
'size' => 100,
|
'size' => 100,
|
||||||
'default' => '<API KEY>|<MONITOR ID>,<API KEY>|<MONITOR ID>, ...',
|
'default' => 'MONITOR_API_KEY|MONITOR_NAME,MONITOR_API_KEY|MONITOR_NAME,...',
|
||||||
'name' => 'monitoring_uptimerobot_api_keys', 'value' => $setting->getValue('monitoring_uptimerobot_api_keys'),
|
'name' => 'monitoring_uptimerobot_api_keys', 'value' => $setting->getValue('monitoring_uptimerobot_api_keys'),
|
||||||
'tooltip' => 'Create per-monitor API keys and save them here to propagate your uptime statistics.'
|
'tooltip' => 'Create per-monitor API keys and save them here to propagate your uptime statistics.'
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user