Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Load bootstrap.php if it exists #886

Closed
robocoder opened this Issue · 5 comments

2 participants

Anthon Pang Matthieu Aubry
Anthon Pang
Collaborator

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)
Matthieu Aubry
Owner

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?

Anthon Pang
Collaborator

Attachment: Sample bootstrap
bootstrap.php

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

Sorry, last refs should be #885.

Anthon Pang
Collaborator

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

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