aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/parse_config_upload.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-19 04:09:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-19 04:09:40 +0000
commit0d928e82682221809c6306c3be432a323ed93ab7 (patch)
tree484b0ef7565eadaf0d298e31ea0b2e6e8181f4a3 /packages/autoconfigbackup/parse_config_upload.php
parentc7c5bffbf9cb75297ae26187c5a4d6beb0156253 (diff)
downloadpfsense-packages-0d928e82682221809c6306c3be432a323ed93ab7.tar.gz
pfsense-packages-0d928e82682221809c6306c3be432a323ed93ab7.tar.bz2
pfsense-packages-0d928e82682221809c6306c3be432a323ed93ab7.zip
* Include autoconfigbackup.inc
* Start Ajaxifying backup now command with reason
Diffstat (limited to 'packages/autoconfigbackup/parse_config_upload.php')
-rw-r--r--packages/autoconfigbackup/parse_config_upload.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/parse_config_upload.php b/packages/autoconfigbackup/parse_config_upload.php
index d5e6082a..ce592966 100644
--- a/packages/autoconfigbackup/parse_config_upload.php
+++ b/packages/autoconfigbackup/parse_config_upload.php
@@ -1,5 +1,8 @@
<?php
-upload_config();
+if(file_exists("/usr/local/pkg/autoconfigbackup.inc")) {
+ require_once("/usr/local/pkg/autoconfigbackup.inc");
+ upload_config();
+}
?>