File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ public function tpl_defaults() {
342342// load and enable PHP Intrusion Detection System (PHPIDS)
343343$ ids_security_config = $ app ->getconf ->get_security_config ('ids ' );
344344
345- if (is_dir (ISPC_CLASS_PATH .'/IDS ' ) && $ ids_security_config ['ids_enabled ' ] == 'yes ' ) {
345+ if (is_dir (ISPC_CLASS_PATH .'/IDS ' ) && ( $ ids_security_config ['ids_anon_enabled ' ] == 'yes ' || $ ids_security_config [ ' ids_user_enabled ' ] == ' yes ' || $ ids_security_config [ ' ids_admin_enabled ' ] == ' yes ' ) ) {
346346 $ app ->uses ('ids ' );
347347 $ app ->ids ->start ();
348348}
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ session_regenerate_id=yes
2222ids_anon_enabled =yes
2323ids_anon_log_level =1
2424ids_anon_warn_level =5
25- ids_anon_block_level =10
25+ ids_anon_block_level =20
2626ids_user_enabled =yes
2727ids_user_log_level =1
2828ids_user_warn_level =10
29- ids_user_block_level =50
29+ ids_user_block_level =25
3030ids_admin_enabled =no
3131ids_admin_log_level =1
3232ids_admin_warn_level =5
You can’t perform that action at this time.
0 commit comments