mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
Hide important info from debug mode
This commit is contained in:
parent
572fe5575c
commit
3825c7ba50
@ -58,15 +58,11 @@ return [
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'debug_blacklist' => [
|
'debug_blacklist' => [
|
||||||
'_ENV' => [
|
'_COOKIE' => array_keys($_COOKIE),
|
||||||
'APP_KEY',
|
|
||||||
'DB_PASSWORD',
|
|
||||||
],
|
|
||||||
|
|
||||||
'_SERVER' => [
|
'_SERVER' => array_keys($_SERVER),
|
||||||
'APP_KEY',
|
|
||||||
'DB_PASSWORD',
|
'_ENV' => array_keys($_ENV),
|
||||||
],
|
|
||||||
|
|
||||||
'_POST' => [
|
'_POST' => [
|
||||||
'password',
|
'password',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user