aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-06 20:14:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-06 20:14:09 +0000
commitc1903b13c0c9c46b6e19eca43dd27f9e9c569fc0 (patch)
treeef639cccacc1e337f1d4390f7247c1f143a7fd86
parent42dc7f068044d46360f2843e4a43b4c9bd183eab (diff)
downloadpfsense-packages-c1903b13c0c9c46b6e19eca43dd27f9e9c569fc0.tar.gz
pfsense-packages-c1903b13c0c9c46b6e19eca43dd27f9e9c569fc0.tar.bz2
pfsense-packages-c1903b13c0c9c46b6e19eca43dd27f9e9c569fc0.zip
Update date / time of last portal pfS backup
-rw-r--r--packages/autoconfigbackup/upload_config_filter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/upload_config_filter.php b/packages/autoconfigbackup/upload_config_filter.php
index 2362d314..2073ef07 100644
--- a/packages/autoconfigbackup/upload_config_filter.php
+++ b/packages/autoconfigbackup/upload_config_filter.php
@@ -37,6 +37,9 @@ if($last_backup_date <> $last_config_change) {
$data = curl_exec($curl_Session);
curl_close($curl_Session);
+ $config['system']['lastpfSbackup'] = $last_config_change;
+ write_config("Updating last portal.pfsense.org last backup date/time.");
+
}
?> \ No newline at end of file