[-] BO : you do not need to add the admin controller in the core, the override directory is enough

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16284 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-07-09 12:56:51 +00:00
parent 2ea9ef528f
commit acc15c9e55
+1 -1
View File
@@ -305,7 +305,7 @@ class DispatcherCore
}
else
{
$controllers = Dispatcher::getControllers(array(_PS_ADMIN_DIR_.'/tabs/', _PS_ADMIN_CONTROLLER_DIR_));
$controllers = Dispatcher::getControllers(array(_PS_ADMIN_DIR_.'/tabs/', _PS_ADMIN_CONTROLLER_DIR_, _PS_OVERRIDE_DIR_.'controllers/admin/'));
if (!isset($controllers[$this->controller]))
$this->controller = $this->controller_not_found;
$controller_class = $controllers[$this->controller];