mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix layout path value causing View to generate layout paths with extra slash at end
This commit is contained in:
parent
5ba5f906e6
commit
fa0d1c7997
1 changed files with 2 additions and 2 deletions
|
@ -291,8 +291,8 @@ class ExceptionRenderer {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function _outputMessageSafe($template) {
|
protected function _outputMessageSafe($template) {
|
||||||
$this->controller->layoutPath = '';
|
$this->controller->layoutPath = null;
|
||||||
$this->controller->subDir = '';
|
$this->controller->subDir = null;
|
||||||
$this->controller->viewPath = 'Errors/';
|
$this->controller->viewPath = 'Errors/';
|
||||||
$this->controller->viewClass = 'View';
|
$this->controller->viewClass = 'View';
|
||||||
$this->controller->layout = 'error';
|
$this->controller->layout = 'error';
|
||||||
|
|
Loading…
Reference in a new issue