mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-04-02 07:02:57 +00:00
Moving a method around.
This commit is contained in:
parent
070066be18
commit
db3f74dfa0
1 changed files with 2 additions and 2 deletions
|
@ -106,10 +106,10 @@ class Dispatcher {
|
||||||
'controller' => Inflector::camelize($request->params['controller']) . 'Controller'
|
'controller' => Inflector::camelize($request->params['controller']) . 'Controller'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
$privateAction = $this->_isPrivateAction($request);
|
|
||||||
Router::setRequestInfo($request);
|
Router::setRequestInfo($request);
|
||||||
|
|
||||||
if ($privateAction) {
|
if ($this->_isPrivateAction($request)) {
|
||||||
throw new PrivateActionException(array(
|
throw new PrivateActionException(array(
|
||||||
'controller' => Inflector::camelize($request->params['controller']) . "Controller",
|
'controller' => Inflector::camelize($request->params['controller']) . "Controller",
|
||||||
'action' => $request->params['action']
|
'action' => $request->params['action']
|
||||||
|
|
Loading…
Add table
Reference in a new issue