Skip to content


Load bootstrap.php if it exists #886

robocoder opened this Issue · 5 comments

2 participants


index.php and piwik.php would load piwik/bootstrap.php, if it exists, to allow for local configuration tweaks; bootstrap.php would not exist in SVN


  • PIWIK_INCLUDE_PATH (see #656)


  • PIWIK_DOCUMENT_ROOT (also #656)
Piwik Open Source Analytics member

We cannot use the plugin framework to fire an event as early as the index.php or piwik.php therefore I agree such a mechanism would be useful to have.

What sort of tweaks/use cases were you thinking of?


Attachment: Sample bootstrap


(In [1341]) refs #886, #656, #8585 - add PIWIK_DOCUMENT_ROOT and optional inclusion of bootstrap.php


Sorry, last refs should be #885.


(In [1343]) refs #886 - redo and extend change to visit generator and tests config

@robocoder robocoder added this to the Piwik 0.6.1 milestone
@robocoder 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.