function bb2_read_settings in Bad Behavior 6
Same name and namespace in other branches
- 5.2 badbehavior.module \bb2_read_settings()
- 6.2 badbehavior.module \bb2_read_settings()
- 7.2 badbehavior.module \bb2_read_settings()
1 call to bb2_read_settings()
File
- ./
badbehavior.module, line 167
Code
function bb2_read_settings() {
$logging = variable_get('badbehavior_logging', 1);
return array(
'log_table' => '{bad_behavior_log}',
'display_stats' => FALSE,
'strict' => variable_get('badbehavior_strict', 0),
'verbose' => $logging == 'verbose',
'logging' => !empty($logging),
'httpbl_key' => variable_get('badbehavior_httpbl_key', ''),
'httpbl_threat' => '25',
'httpbl_maxage' => '30',
'offsite_forms' => FALSE,
);
}