aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/autoconfigbackup/autoconfigbackup.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc
index 7ec5c600..015d7a49 100644
--- a/config/autoconfigbackup/autoconfigbackup.inc
+++ b/config/autoconfigbackup/autoconfigbackup.inc
@@ -32,6 +32,12 @@ $pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
if(strstr($pfSversion, "1.2"))
require_once("crypt_acb.php");
+// Plugin moved to save only
+if(file_exists("/usr/local/pkg/write_config/parse_config_upload.inc"))
+ unlink("/usr/local/pkg/write_config/parse_config_upload.inc");
+if(file_exists("/usr/local/pkg/write_config/parse_config_upload.php"))
+ unlink("/usr/local/pkg/write_config/parse_config_upload.php");
+
/* ensures patches match */
function custom_php_validation_command($post, $input_errors) {
global $_POST, $savemsg, $config;