You can clone with
HTTPS or Subversion.
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
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 ) refs #886, #656, #8585 - add PIWIK_DOCUMENT_ROOT and optional inclusion of bootstrap.php
Sorry, last refs should be #885.
(In ) refs #886 - redo and extend change to visit generator and tests config