Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix layout path value causing View to generate layout paths with extr…

…a slash at end
  • Loading branch information...
commit fa0d1c7997d41a2615e6c25123473491d8c866c6 1 parent 5ba5f90
@ADmad ADmad authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Error/ExceptionRenderer.php
View
4 lib/Cake/Error/ExceptionRenderer.php
@@ -291,8 +291,8 @@ protected function _outputMessage($template) {
* @return void
*/
protected function _outputMessageSafe($template) {
- $this->controller->layoutPath = '';
- $this->controller->subDir = '';
+ $this->controller->layoutPath = null;
+ $this->controller->subDir = null;
$this->controller->viewPath = 'Errors/';
$this->controller->viewClass = 'View';
$this->controller->layout = 'error';
Please sign in to comment.
Something went wrong with that request. Please try again.