diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 70f21ae6e..0d9ccb0dd 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -231,7 +231,7 @@ class Dispatcher extends Object { array_push($controller->helpers, $controller->webservices); } - Router::setRequestInfo(array($this->params, array('base' => $this->base, 'here' => $this->here, 'webroot' => $this->webroot, 'passedArgs' => $controller->passedArgs, 'argSeparator' => $controller->argSeparator, 'namedArgs' => $controller->namedArgs, 'webservices' => $controller->webservices))); + Router::setRequestInfo(array($this->params, array('base' => $this->base, 'here' => $this->here, 'webroot' => $this->webroot))); $controller->_initComponents(); if(isset($this->plugin)) { diff --git a/cake/libs/view/view.php b/cake/libs/view/view.php index b4e04699c..75864939b 100644 --- a/cake/libs/view/view.php +++ b/cake/libs/view/view.php @@ -847,7 +847,7 @@ class View extends Object { $camelBackedHelper = Inflector::variable($helper); ${$camelBackedHelper} =& new $helperCn(); - $vars = array('base', 'webroot', 'here', 'params', 'action', 'data', 'themeWeb', 'plugin', 'namedArgs', 'argSeparator'); + $vars = array('base', 'webroot', 'here', 'params', 'action', 'data', 'themeWeb', 'plugin'); $c = count($vars); for ($j = 0; $j < $c; $j++) { ${$camelBackedHelper}->{$vars[$j]} = $this->{$vars[$j]};