I'm attempting to update a site to CakePHP 2.5 from 2.4 but for some reason it is ignoring the routes from my plugins. I've figured out that CakePlugin::loadAll needs updating to the following:-
CakePlugin::loadAll(array(array(
'MyPlugin' => array(
'routes' => true
)
)));
However, it ignores the routes from MyPlugin (they don't appear to get loaded at all. I've got CakePlugin::routes()
in my app/Config/routes.php file.
I've taken a look inside CakePlugin and CakePlugin::$_plugins seems to be setting MyPlugin['routes'] to false.
Can anyone shed any light on what's wrong here?