diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 70790d7a49c..76db8f29292 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -367,9 +367,6 @@ function baseUrl() { $this->webroot = $base .'/'; return $base; } - $file = null; - - if ($baseUrl) { $file = '/' . basename($baseUrl); $base = dirname($baseUrl); @@ -385,8 +382,6 @@ function baseUrl() { $this->webroot .= $webroot . '/'; } return $base . $file; - } - return false; } /** * Restructure params in case we're serving a plugin.