Revision 93830bec
Added by Viktor Gurov over 4 years ago
src/etc/inc/openvpn.inc | ||
---|---|---|
1548 | 1548 |
get_interface_arr(true); |
1549 | 1549 |
|
1550 | 1550 |
/* remove the configuration files */ |
1551 |
rmdir_recursive("{$g['openvpn_base']}/{$mode_id}"); |
|
1551 |
unlink_if_exists("{$g['openvpn_base']}/{$mode_id}/*/*"); |
|
1552 |
unlink_if_exists("{$g['openvpn_base']}/{$mode_id}/*"); |
|
1552 | 1553 |
} |
1553 | 1554 |
|
1554 | 1555 |
function openvpn_resync_csc(& $settings) { |
Also available in: Unified diff
OpenVPN rmdir fix. Issue #11254