Add plugin-specific config loader #2871

robocoder opened this Issue Jan 19, 2012 · 2 comments

1 participant


Add support for plugins to be able to load their own config files. This allows plugins to be increasingly self-contained in their own folder.

  • modify ExamplePlugin to add config folder
  • default config file name will be local.config.php

(In [5684]) fixes #2871 - add plugin-specific config file loader

Also refactored ExamplePlugin to be a better example.

  • 1 class per file
  • add config folder with .htaccess
  • add tests folder with some unit tests

(In [5685]) refs #2871 - svn ignore local.config.php; use PIWIK_USER_PATH instead of PIWIK_INCLUDE_PATH

@robocoder robocoder added this to the 1.7 Piwik 1.7 milestone Jul 8, 2014
@robocoder robocoder self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment