aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/dansguardian/dansguardian.inc1
-rw-r--r--config/dansguardian/dansguardian.xml2
-rwxr-xr-xconfig/dansguardian/dansguardian_sync.xml10
3 files changed, 7 insertions, 6 deletions
diff --git a/config/dansguardian/dansguardian.inc b/config/dansguardian/dansguardian.inc
index 5e0d4631..53b45cee 100755
--- a/config/dansguardian/dansguardian.inc
+++ b/config/dansguardian/dansguardian.inc
@@ -525,6 +525,7 @@ function sync_package_dansguardian() {
if (!is_array($config['installedpackages']['dansguardianantivirusacl']['config']))
$config['installedpackages']['dansguardianantivirusacl']['config'][0]=array();
+ $dansguardian_antivirus=$config['installedpackages']['dansguardianantivirusacl']['config'][0];
#exceptionvirusmimetypelist
if($dansguardian_antivirus['mime_list'] == "" && file_exists ($dansguardian_dir.'/lists/contentscanners/exceptionvirusmimetypelist.sample')){
$config['installedpackages']['dansguardianantivirusacl']['config'][0]['mime_list']=base64_encode(file_get_contents($dansguardian_dir.'/lists/contentscanners/exceptionvirusmimetypelist.sample'));
diff --git a/config/dansguardian/dansguardian.xml b/config/dansguardian/dansguardian.xml
index 0870c91b..809feffd 100644
--- a/config/dansguardian/dansguardian.xml
+++ b/config/dansguardian/dansguardian.xml
@@ -291,7 +291,7 @@
browse the web. Set to 0 for no limit, and to disable the IP cache process.]]></description>
</field>
<field>
- <name>Listening Settings</name>
+ <name>Parent proxy Settings</name>
<type>listtopic</type>
</field>
<field>
diff --git a/config/dansguardian/dansguardian_sync.xml b/config/dansguardian/dansguardian_sync.xml
index 22e4a879..f2b9d2e3 100755
--- a/config/dansguardian/dansguardian_sync.xml
+++ b/config/dansguardian/dansguardian_sync.xml
@@ -94,7 +94,7 @@
<type>listtopic</type>
</field>
<field>
- <fielddescr>Automatically sync mailscanner configuration changes</fielddescr>
+ <fielddescr>Automatically sync dansguardian configuration changes</fielddescr>
<fieldname>synconchanges</fieldname>
<description>pfSense will automatically sync changes to the hosts defined below.</description>
<type>checkbox</type>
@@ -122,15 +122,15 @@
</field>
</fields>
<custom_php_install_command>
- mailscanner_php_install_command();
+ dansguardian_php_install_command();
</custom_php_install_command>
<custom_php_deinstall_command>
- mailscanner_php_deinstall_command();
+ dansguardian_php_deinstall_command();
</custom_php_deinstall_command>
<custom_php_validation_command>
- mailscanner_validate_input($_POST, &amp;$input_errors);
+ dansguardian_validate_input($_POST, &amp;$input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
- sync_package_mailscanner();
+ sync_package_dansguardian();
</custom_php_resync_config_command>
</packagegui>