From a1df2ac915b4b46dc3d8f01920a9463cd47beb45 Mon Sep 17 00:00:00 2001 From: phpnut Date: Wed, 19 Sep 2007 14:42:07 +0000 Subject: [PATCH] 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 --- cake/dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 2a264780a..f4d312e74 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -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) {