Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Optimize include path #743

Closed
robocoder opened this Issue · 5 comments

2 participants

Anthon Pang Matthieu Aubry
Anthon Pang
Collaborator

At present, index.php and piwik.php set the include path (relative to the Piwik document root) to: /, /core, /libs, /plugins, plus the existing include path.

The proposal here is to remove / from the above class search path as it is a frequent "miss". The handful of references to /config, /lang, and /misc can be converted to absolute paths.

Anthon Pang
Collaborator

Attachment:
743.diffs

Anthon Pang
Collaborator

Proposed patch attached.

Anthon Pang
Collaborator

(In [1150]) fixes #743 - optimize include path; refs #631

Anthon Pang
Collaborator

(In [1153]) refs #743 - fix dependencies

Matthieu Aubry
Owner

(In [1164]) - refs #743 fixing for tests as well

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