mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
2ba117eeda
When Router::parseExtensions() is enabled for a file extension that does not map to a view an infinite loop of attempting to render View/$ext/error500.ctp will be entered. When catching a MissingViewException check if we were trying to render an error500. If we were, revert to safe rendering as we might enter a loop. |
||
---|---|---|
.. | ||
ErrorHandler.php | ||
ExceptionRenderer.php | ||
exceptions.php |