Optimize include path #743

Closed
robocoder opened this Issue May 26, 2009 · 5 comments

2 participants

@robocoder

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.

@robocoder

Attachment:
743.diffs

@robocoder

Proposed patch attached.

@robocoder

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

@robocoder

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

@mattab
Piwik Open Source Analytics member

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

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