Load bootstrap.php if it exists #886

Closed
robocoder opened this Issue Jul 28, 2009 · 5 comments

2 participants

@robocoder

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

Tweakable:

  • PIWIK_INCLUDE_PATH (see #656)
  • PIWIK_ENABLE_SESSION_START (see #885)

Introduce:

  • PIWIK_DOCUMENT_ROOT (also #656)
@mattab
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?

@robocoder

Attachment: Sample bootstrap
bootstrap.php

@robocoder

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

@robocoder

Sorry, last refs should be #885.

@robocoder

(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 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