Revision b9496b5f
Added by Colin Smith about 20 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
679 | 679 |
$fout = fopen("{$g['tmp_path']}/tmpxml","w"); |
680 | 680 |
fwrite($fout, $new_contents); |
681 | 681 |
fclose($fout); |
682 |
$section_xml = parse_xml_config_pkg($g['tmp_path'] . "/tmpxml", $section);
|
|
682 |
$section_xml = parse_xml_config($g['tmp_path'] . "/tmpxml", $section); |
|
683 | 683 |
$config[$section] = &$section_xml; |
684 | 684 |
unlink($g['tmp_path'] . "/tmpxml"); |
685 | 685 |
write_config("Restored {$section} of config file (maybe from CARP partner)"); |
Also available in: Unified diff
parse_xml_config_pkg -> parse_xml_config