Skip to content

2.11.0

Compare
Choose a tag to compare
@samsonasik samsonasik released this 05 Jun 15:16
· 537 commits to master since this release
2.11.0
26329f5
  • add "no_template" config to set default error message on Expressive 3 when no TemplateRendererInterface service like below:
// ...
      'display-settings' => [
            // for expressive, when container doesn't has \Zend\Expressive\Template\TemplateRendererInterface service
            // if enable, and display_errors = 0, then show a message under no_template config
            'no_template' => [
                'message' => <<<json
{
    "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
    "title": "Internal Server Error",
    "status": 500,
    "detail": "We have encountered a problem and we can not fulfill your request. An error report has been generated and sent to the support team and someone will attend to this problem urgently. Please try again later. Thank you for your patience."
}
json
            ],
      ],
// ...