Skip to content
This repository
Browse code

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 authored June 10, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/Cake/Error/ExceptionRenderer.php
4  lib/Cake/Error/ExceptionRenderer.php
@@ -291,8 +291,8 @@ protected function _outputMessage($template) {
291 291
  * @return void
292 292
  */
293 293
 	protected function _outputMessageSafe($template) {
294  
-		$this->controller->layoutPath = '';
295  
-		$this->controller->subDir = '';
  294
+		$this->controller->layoutPath = null;
  295
+		$this->controller->subDir = null;
296 296
 		$this->controller->viewPath = 'Errors/';
297 297
 		$this->controller->viewClass = 'View';
298 298
 		$this->controller->layout = 'error';

0 notes on commit fa0d1c7

Please sign in to comment.
Something went wrong with that request. Please try again.