I’m (trying to) tidy up a pretty messed app built on CakePHP/2.5.5. My first refactoring was to get CakePHP itself installed with Composer and I currently have these directories (functional so far):
/appwith all my custom code
/Vendor, fully managed with Composer
The app was already using Composer to some extent and I currently two sets of Composer settings and files:
/composer.jsonis the one I want to keep and currently installs
/app/composer.jsonis the one I want to get rid of and installs packages between
When I move e.g.
friendsofcake/cakepdf into main settings I get it into a brand new
/Plugin directory and:
Error: The application is trying to load a file from the CakePdf plugin
Error: Make sure your plugin CakePdf is in the app\Plugin directory and was loaded<?php CakePlugin::load('CakePdf');
I’ve got two questions:
- What’d be the “correct” plugin path in this situation?
- How do I need to configure it?