Revision dbc1b8ee
Added by Jim Pingle almost 5 years ago
src/etc/inc/service-utils.inc | ||
---|---|---|
397 | 397 |
} |
398 | 398 |
|
399 | 399 |
foreach (array('server', 'client') as $mode) { |
400 |
init_config_arr(array('openvpn')); |
|
400 | 401 |
if (is_array($config['openvpn']["openvpn-{$mode}"])) { |
401 | 402 |
foreach ($config['openvpn']["openvpn-{$mode}"] as $id => $setting) { |
402 | 403 |
if (!isset($setting['disable'])) { |
Also available in: Unified diff
Fix some illegal string offset errors. Issue #10659