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
*/
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';