Skip to content

Commit e61eef6

Browse files
committed
add ajax key in readme
1 parent b8abdd0 commit e61eef6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,15 @@ return [
167167
'console' => [
168168
'message' => 'We have encountered a problem and we can not fulfill your request. An error report has been generated and send to the support team and someone will attend to this problem urgently. Please try again later. Thank you for your patience.',
169169
],
170+
// if enable, display_errors = 0, and request XMLHttpRequest
171+
// on this case, the "template" key will be ignored.
172+
'ajax' => [
173+
'message' => <<<json
174+
{
175+
"error": "We have encountered a problem and we can not fulfill your request. An error report has been generated and send to the support team and someone will attend to this problem urgently. Please try again later. Thank you for your patience."
176+
}
177+
json
178+
],
170179
],
171180

172181
'logging-settings' => [

0 commit comments

Comments
 (0)