mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 02:52:41 +00:00
Fix errors with missing sub directories.
Missing content-type specific errors shouldn't trigger fatal errors. Instead a html view should be rendered as a last resort. Fixes #2537
This commit is contained in:
parent
62df929342
commit
ee083e047e
3 changed files with 52 additions and 18 deletions
|
@ -57,7 +57,6 @@ class CakeErrorController extends AppController {
|
|||
$this->Components->trigger('initialize', array(&$this));
|
||||
|
||||
$this->_set(array('cacheAction' => false, 'viewPath' => 'Errors'));
|
||||
|
||||
if (isset($this->RequestHandler)) {
|
||||
$this->RequestHandler->startup($this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue