mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fixes #3261, AppController methods are made protected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5672 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
3ce10a4826
commit
a1df2ac915
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class Dispatcher extends Object {
|
|||
}
|
||||
}
|
||||
|
||||
$protected = array_map('strtolower', get_class_methods('appcontroller'));
|
||||
$protected = array_map('strtolower', get_class_methods('controller'));
|
||||
$classMethods = array_map('strtolower', get_class_methods($controller));
|
||||
|
||||
if (in_array(low($this->params['action']), $protected) || strpos($this->params['action'], '_', 0) === 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue