mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
gateways: dpinger. ignore disabled gateways in monitor services.
This commit is contained in:
parent
496c2ef24f
commit
8d8bcb7e94
@ -42,7 +42,7 @@ function dpinger_services()
|
||||
}
|
||||
|
||||
foreach ($config['gateways']['gateway_item'] as $gateway) {
|
||||
if (isset($gateway['monitor_disable']) && $gateway['monitor_disable'] != '0') {
|
||||
if (!empty($gateway['monitor_disable']) || isset($gateway['disabled'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user