diff --git a/cake/dispatcher.php b/cake/dispatcher.php index b0efa8b9777..25794bca5e1 100644 --- a/cake/dispatcher.php +++ b/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); } }