conifg -> conf

This commit is contained in:
Scott Ullrich 2005-07-09 21:39:12 +00:00
parent 40142be90f
commit ee096757bb

View File

@ -675,7 +675,7 @@ function backup_config_section($section) {
*/
function restore_config_section($section, $new_contents) {
global $config;
config_mount_rw();
conf_mount_rw();
$fout = fopen("{$g['tmp_path']}/tmpxml","w");
fwrite($fout, $new_contents);
fclose($fout);
@ -683,7 +683,7 @@ function restore_config_section($section, $new_contents) {
$config[$section] = &$section_xml;
unlink($g['tmp_path'] . "/tmpxml");
write_config("Restored {$section} of config file (maybe from CARP partner)");
config_mount_ro();
conf_mount_ro();
return;
}