mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Whitespace fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6351 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
3eb04c36db
commit
367d7a76fb
1 changed files with 9 additions and 9 deletions
|
@ -252,15 +252,15 @@ class Dispatcher extends Object {
|
||||||
App::import('Core', 'Scaffold');
|
App::import('Core', 'Scaffold');
|
||||||
return new Scaffold($controller, $params);
|
return new Scaffold($controller, $params);
|
||||||
} elseif ($missingAction && !in_array('scaffold', array_keys($classVars))) {
|
} elseif ($missingAction && !in_array('scaffold', array_keys($classVars))) {
|
||||||
return $this->cakeError('missingAction', array(
|
return $this->cakeError('missingAction', array(
|
||||||
array(
|
array(
|
||||||
'className' => Inflector::camelize($params['controller']."Controller"),
|
'className' => Inflector::camelize($params['controller']."Controller"),
|
||||||
'action' => $params['action'],
|
'action' => $params['action'],
|
||||||
'webroot' => $this->webroot,
|
'webroot' => $this->webroot,
|
||||||
'url' => $this->here,
|
'url' => $this->here,
|
||||||
'base' => $this->base
|
'base' => $this->base
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
$output = call_user_func_array(array(&$controller, $params['action']), empty($params['pass'])? array(): $params['pass']);
|
$output = call_user_func_array(array(&$controller, $params['action']), empty($params['pass'])? array(): $params['pass']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue