File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
deployment/overrides/phpunit/config Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ account_policy_url = "https://github.com" ; this can be external or a portal pag
1616allow_die = true ; internal use only
1717enable_verbose_error_log = true ; internal use only
1818enable_error_to_user = true ; internal use only
19+ enable_exception_handler = true ; internal use only
1920
2021[ldap]
2122uri = "ldap://identity" ; URI of remote LDAP server
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ custom_user_mappings_dir = "test/custom_user_mappings"
55allow_die = false
66enable_verbose_error_log = false
77enable_error_to_user = false
8+ enable_exception_handler = false
Original file line number Diff line number Diff line change 1414use UnityWebPortal \lib \UnityGithub ;
1515use UnityWebPortal \lib \UnityHTTPD ;
1616
17- set_exception_handler (["UnityWebPortal\lib\UnityHTTPD " , "exceptionHandler " ]);
17+ if (CONFIG ["site " ]["enable_exception_handler " ]) {
18+ set_exception_handler (["UnityWebPortal\lib\UnityHTTPD " , "exceptionHandler " ]);
19+ }
1820
1921session_start ();
2022
You can’t perform that action at this time.
0 commit comments