7x/error display hardening alt2 by robinsowell · Pull Request #5246 · ExpressionEngine/ExpressionEngine · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions system/ee/ExpressionEngine/Boot/boot.common.php
1 change: 1 addition & 0 deletions system/ee/ExpressionEngine/Boot/boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
register_shutdown_function('cliShutdownHandler');
} else {
set_error_handler('_exception_handler');
register_shutdown_function('webShutdownHandler');
}

/*
Expand Down
2 changes: 2 additions & 0 deletions system/ee/language/english/core_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@

'generic_fatal_error' => 'Something has gone wrong and this URL cannot be processed at this time.',

'generic_public_error' => 'An unexpected error occurred. Please contact the site administrator if the problem persists.',

'invalid_action' => 'The action you have requested is invalid.',

'invalid_url' => 'The URL you submitted is not valid.',
Expand Down
2 changes: 2 additions & 0 deletions system/ee/language/english/db_lang.php
Loading
Loading