Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add plugin-specific config loader #2871

Closed
robocoder opened this Issue · 2 comments

1 participant

Anthon Pang
Anthon Pang
Collaborator

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
Anthon Pang
Collaborator

(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
Anthon Pang
Collaborator

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

Anthon Pang robocoder added this to the 1.7 Piwik 1.7 milestone
Anthon Pang robocoder self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.