mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
Merge pull request #1241 from openclassify/dia
Hide important info from debug mode
This commit is contained in:
commit
a417e7ce60
@ -58,19 +58,13 @@ return [
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'debug_blacklist' => [
|
'debug_blacklist' => [
|
||||||
'_ENV' => [
|
'_COOKIE' => env('APP_ENV', 'production') === 'production' ? array_keys($_COOKIE) : [],
|
||||||
'APP_KEY',
|
|
||||||
'DB_PASSWORD',
|
|
||||||
],
|
|
||||||
|
|
||||||
'_SERVER' => [
|
'_SERVER' => env('APP_ENV', 'production') === 'production' ? array_keys($_SERVER) : [],
|
||||||
'APP_KEY',
|
|
||||||
'DB_PASSWORD',
|
|
||||||
],
|
|
||||||
|
|
||||||
'_POST' => [
|
'_ENV' => env('APP_ENV', 'production') === 'production' ? array_keys($_ENV) : [],
|
||||||
'password',
|
|
||||||
],
|
'_POST' => env('APP_ENV', 'production') === 'production' ? array_keys($_POST) : [],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user