Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added fields accessdeniedaddress and bypasskey

  • Loading branch information...
commit 59459e71b440b21d9b27a765917f908c11418da7 1 parent b1edcdb
@rjcrowder authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  config/dansguardian/dansguardian.inc
View
3  config/dansguardian/dansguardian.inc
@@ -687,12 +687,15 @@ function sync_package_dansguardian() {
$dansguardian_group_name=strtolower($dansguardian_groups['name']);
$dgfg[$count]=$dansguardian_group_name;
$dansguardian_groups['blockdownloads']=($dansguardian_groups['blockdownloads']?$dansguardian_groups['blockdownloads']:"off");
+ $dansguardian_groups['accessdeniedaddress']=($dansguardian_groups['accessdeniedaddress']?$dansguardian_groups['acces
+sdeniedaddress']:"");
$dansguardian_groups['weightedphrasemode']=(preg_match("/\d/",$dansguardian_groups['weightedphrasemode'])?$dansguardian_groups['weightedphrasemode']:$dansguardian_config['weightedphrasemode']);
$dansguardian_groups['naughtynesslimit']=($dansguardian_groups['naughtynesslimit']?$dansguardian_groups['naughtynesslimit']:"50");
$dansguardian_groups['searchtermlimit']=($dansguardian_groups['searchtermlimit']?$dansguardian_groups['searchtermlimit']:"30");
$dansguardian_groups['categorydisplaythreshold']=($dansguardian_groups['categorydisplaythreshold']?$dansguardian_groups['categorydisplaythreshold']:"0");
$dansguardian_groups['embeddedurlweight']=($dansguardian_groups['embeddedurlweight']?$dansguardian_groups['embeddedurlweight']:"0");
$dansguardian_groups['bypass']=($dansguardian_groups['bypass']?$dansguardian_groups['bypass']:"0");
+ $dansguardian_groups['bypasskey']=($dansguardian_groups['bypasskey']?$dansguardian_groups['bypasskey']:"");
$dansguardian_groups['infectionbypass']=($dansguardian_groups['infectionbypass']?$dansguardian_groups['infectionbypass']:"0");
$dansguardian_groups['mitmkey']=($dansguardian_groups['mitmkey']?$dansguardian_groups['mitmkey']:"dgs3dD3da");
foreach ($groups as $group)

0 comments on commit 59459e7

Please sign in to comment.
Something went wrong with that request. Please try again.