Fix layout path value causing View to generate layout paths with extra slash at end

This commit is contained in:
ADmad 2012-06-10 22:19:39 +05:30
parent 5ba5f906e6
commit fa0d1c7997

View file

@ -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';