Skip to content
Permalink
Browse files

Making dispatcher constructor public and removing return statement.

  • Loading branch information...
predominant committed Apr 9, 2010
1 parent e4d292b commit 94603b2cb702665c214444fbf3a8cea7b9535d73
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/dispatcher.php
@@ -72,12 +72,12 @@ class Dispatcher extends Object {
/**
* Constructor.
*/
function __construct($url = null, $base = false) {
public function __construct($url = null, $base = false) {
if ($base !== false) {
Configure::write('App.base', $base);
}
if ($url !== null) {
return $this->dispatch($url);
$this->dispatch($url);
}
}

0 comments on commit 94603b2

Please sign in to comment.
You can’t perform that action at this time.