summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-05-18 03:20:08 +0000
committerBill Marquette <billm@pfsense.org>2005-05-18 03:20:08 +0000
commit7e0e716ac99f1e36bb2ef69e74f272c710c3bb75 (patch)
tree999d75196197593502bdbf1891cb7da42bcaa8c9 /etc/inc
parent1d478d96246e227197aee1fa68cccdbc2e7e6d8a (diff)
downloadpfsense-7e0e716ac99f1e36bb2ef69e74f272c710c3bb75.zip
pfsense-7e0e716ac99f1e36bb2ef69e74f272c710c3bb75.tar.gz
bad Bill
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 0e811b6..ce1e229 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1020,8 +1020,8 @@ function cleanup_backupcache($revisions = "all") {
function get_backups() {
global $g;
- if(file_exists("{$g['cf_conf_path']}/backup.cache")) {
- $confvers = unserialize(file_get_contents("{$g['cf_conf_path']}/backup.cache"));
+ if(file_exists("{$g['cf_conf_path']}/backup/backup.cache")) {
+ $confvers = unserialize(file_get_contents("{$g['cf_conf_path']}/backup/backup.cache"));
$bakvers = array_keys($confvers);
$toreturn = array();
sort($bakvers);
OpenPOWER on IntegriCloud