Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#743 closed Bug (fixed)

Optimize include path

Reported by: vipsoft Owned by:
Priority: normal Milestone: Piwik 0.4
Component: Core Keywords:
Cc: Sensitive:


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.

Attachments (1)

743.diffs (8.4 KB) - added by vipsoft 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by vipsoft (robocoder)

comment:1 Changed 5 years ago by vipsoft (robocoder)

Proposed patch attached.

comment:2 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 5 years ago by vipsoft (robocoder)

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

comment:4 Changed 5 years ago by matt (mattab)

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

Note: See TracTickets for help on using tickets.