aboutsummaryrefslogtreecommitdiffstats
path: root/config/dansguardian
diff options
context:
space:
mode:
authormarcelloc <marcellocoutinho@gmail.com>2012-01-27 19:58:52 -0200
committermarcelloc <marcellocoutinho@gmail.com>2012-01-27 19:58:52 -0200
commit29fa50e4657e5f999b065f6fd4d3ebc67838139b (patch)
tree5a2a506ae6d33fa542e7bde3cf9aa394ea436723 /config/dansguardian
parent0dd332c1958b4c59c27b304e89383d1ced90e2d7 (diff)
downloadpfsense-packages-29fa50e4657e5f999b065f6fd4d3ebc67838139b.tar.gz
pfsense-packages-29fa50e4657e5f999b065f6fd4d3ebc67838139b.tar.bz2
pfsense-packages-29fa50e4657e5f999b065f6fd4d3ebc67838139b.zip
dansguardian - more typo fixes
Diffstat (limited to 'config/dansguardian')
-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>