Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Load bootstrap.php if it exists #886

Closed
robocoder opened this Issue · 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
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?

@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
@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.