diff options
author | Bill Marquette <billm@pfsense.org> | 2005-05-18 03:20:08 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-05-18 03:20:08 +0000 |
commit | 7e0e716ac99f1e36bb2ef69e74f272c710c3bb75 (patch) | |
tree | 999d75196197593502bdbf1891cb7da42bcaa8c9 /etc | |
parent | 1d478d96246e227197aee1fa68cccdbc2e7e6d8a (diff) | |
download | pfsense-7e0e716ac99f1e36bb2ef69e74f272c710c3bb75.zip pfsense-7e0e716ac99f1e36bb2ef69e74f272c710c3bb75.tar.gz |
bad Bill
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 4 |
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); |