aboutsummaryrefslogtreecommitdiffstats
path: root/config/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-23 16:01:43 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-23 16:01:59 -0400
commitb39ab78a8cd15d93dad3e4f8819bb475f7a56be8 (patch)
tree7cbcb10e4184932f6e70912d83cc56e407038f54 /config/autoconfigbackup/autoconfigbackup.php
parent5a051d70e692ddb720b7e88f8148864f89b11ffa (diff)
downloadpfsense-packages-b39ab78a8cd15d93dad3e4f8819bb475f7a56be8.tar.gz
pfsense-packages-b39ab78a8cd15d93dad3e4f8819bb475f7a56be8.tar.bz2
pfsense-packages-b39ab78a8cd15d93dad3e4f8819bb475f7a56be8.zip
Show errors when they occur
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--config/autoconfigbackup/autoconfigbackup.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php
index 0af10b31..116bb4bd 100644
--- a/config/autoconfigbackup/autoconfigbackup.php
+++ b/config/autoconfigbackup/autoconfigbackup.php
@@ -230,6 +230,8 @@ EOF;
$savemsg = "Unable to revert to the selected configuration.";
}
print_info_box($savemsg);
+ } else {
+ log_error("There was an error when restoring the AutoConfigBackup item");
}
unlink("/tmp/config_restore.xml");
}
@@ -314,6 +316,8 @@ EOF;
if($ds_split[2] && $ds_split[0])
$confvers[] = $tmp_array;
}
+ if ($input_errors)
+ print_input_errors($input_errors);
?>
</td>
</tr>