I\'m struggling with the concept of creating an admin section in CakePHP-project. (version 2.3.5)
I have uncommented the line in Config/core.php:
Configu
I have another solution. Admin panel for website has another graphics, javasctipt etc, so I do in my app folders:
app_name
+Model
+Plugin
+admin
+front
Yes admin is in another folder, so I can for example set another cookie to login in admin area only plugins and model are the same. This folder structure needs some configuration in bootstrap.php:
App::build(array(
'Plugin' => array(ROOT . DS . 'Plugin' . DS),
'Model' => array(ROOT . DS . 'Model' . DS),
'Model/Behavior' => array(ROOT . DS . 'Model' . DS . 'Behavior' . DS),
));
Maybe is crazy for you but i prefer this solution that use admin routes.