centurion-project / Centurion

Centurion is an open-source CMS delivered as a flexible PHP5 Content Management Framework
http://www.centurion-project.org
197 stars 51 forks source link

Undeclared admin core controllers #10

Open aurmil opened 12 years ago

aurmil commented 12 years ago

only cms et user modules declare admin controllers in their module.ini file modules in library/Centurion/Contrib/ do not do the same the only effect I saw is wrong headTitle: access an admin controller which is not declared, headTitle will be resources.layout.configs.default.headTitle.default, instead of resources.layout.configs.admin.headTitle.default this is done in Centurion_Controller_Action_Helper_LayoutLoader, in the first "if", because "in_array($controller, $config['admin']['controllers'])" becomes false may be there are some other effects...