aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/parse_config_upload.php
diff options
context:
space:
mode:
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();
+}
?>