Skip to content

Commit 733f450

Browse files
committed
Config - hide all env, cookie and server in whoops error
1 parent 97d6b72 commit 733f450

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

config/app.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
'google_analytics' => env('GOOGLE_ANALYTICS', ''),
1212
'google_map_key' => env('GOOGLE_MAP_KEY', ''),
1313

14+
'debug_blacklist' => [
15+
'_ENV' => array_keys($_ENV),
16+
'_COOKIE' => array_keys($_COOKIE),
17+
'_SERVER' => array_keys($_SERVER),
18+
],
19+
1420
/*
1521
|--------------------------------------------------------------------------
1622
| Application Name

resources/assets/js/titan/pagination.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ var PaginationClass = function (options) {
9191
if (vars.onComplete) {
9292
vars.onComplete();
9393
}
94+
9495
$('.js-pagination-loader').hide();
9596
}).fail(function () {
9697
isAjaxBusy = false;

0 commit comments

Comments
 (0)