Ticket #743 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Optimize include path

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

Description

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

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

Change History

Changed 3 years ago by vipsoft

Changed 3 years ago by vipsoft

Proposed patch attached.

Changed 3 years ago by vipsoft

  • status changed from new to closed
  • resolution set to fixed

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

Changed 3 years ago by vipsoft

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

Changed 3 years ago by matt

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

Note: See TracTickets for help on using tickets.