Revision 0812e3cf
Added by Jim Pingle over 5 years ago
src/etc/inc/ipsec.inc | ||
---|---|---|
949 | 949 |
*/ |
950 | 950 |
function ipsec_reload_package_hook() { |
951 | 951 |
global $g, $config; |
952 |
|
|
953 |
init_config_arr(array('installedpackages', 'package')); |
|
952 | 954 |
foreach ($config['installedpackages']['package'] as $package) { |
953 | 955 |
if (!file_exists("/usr/local/pkg/" . $package['configurationfile'])) { |
954 | 956 |
continue; |
Also available in: Unified diff
Fix PHP error in ipsec_reload_package_hook(). Fixes #10217