I haves dev setup of a site that i want separate craft config, db and plugin folders for.
define('CRAFT_CONFIG_PATH', '../../../craftdevconfig/');
define('CRAFT_PLUGINS_PATH', '../../../craftdevplugins/');
define('CRAFT_STORAGE_PATH', '../../../craftdevstorage/'); //'../storage/');
define('CRAFT_TEMPLATES_PATH', '../craft/templates/');
I am trying to debug a plugin in craftdevconfig.
However I am having a nightmare knowing where craft is looking. For my plugin it seems to get its default configuration from the live craft/plugins folder. But for code changes, seems to change its mind about where the plugin service calls should be found. I can debug it locally as it has IP based service calls to third parties. Slowly going bald.
Any ideas on how to clarify where craft thinks stuff is would be great
CRAFT_CONFIG_PATH
just allows you to override where thecraft/config
folder lives by default. "I am trying to debug a plugin in craftdevconfig." Are you saying your plugin is providing its own config settings and you're having a hard time figuring out how to provide those? – Brad Bell Feb 21 '17 at 18:59