Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin-specific config loader #2871

Closed
robocoder opened this issue Jan 19, 2012 · 2 comments
Closed

Add plugin-specific config loader #2871

robocoder opened this issue Jan 19, 2012 · 2 comments
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@robocoder
Copy link
Contributor

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
@robocoder
Copy link
Contributor Author

(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

@robocoder
Copy link
Contributor Author

(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
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

1 participant