aboutsummaryrefslogtreecommitdiffstats
path: root/config/dansguardian/dansguardian.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/dansguardian/dansguardian.inc')
-rwxr-xr-xconfig/dansguardian/dansguardian.inc1
1 files changed, 1 insertions, 0 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'));