aboutsummaryrefslogtreecommitdiffstats
path: root/config/autoconfigbackup/autoconfigbackup.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-30 20:53:22 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-30 20:53:22 -0500
commit7afc11006d6ff02baae926088d58730b0a84c42d (patch)
treebbb08e6741a016c44ccfabbdde6f6e7c93ed09ba /config/autoconfigbackup/autoconfigbackup.inc
parent11bebf4bd47d5c5b0828b407121b8494b1335c83 (diff)
downloadpfsense-packages-7afc11006d6ff02baae926088d58730b0a84c42d.tar.gz
pfsense-packages-7afc11006d6ff02baae926088d58730b0a84c42d.tar.bz2
pfsense-packages-7afc11006d6ff02baae926088d58730b0a84c42d.zip
Nuke old plugin
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup.inc')
-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;