Line 220 of reports.module reads:

require_once('reports_definitions.inc');

whereas I believe it should read:

require_once(drupal_get_path('module', 'report') .'/reports_definitions.inc');

Comments

harry slaughter’s picture

Assigned: Unassigned » harry slaughter
Status: Active » Closed (fixed)

I thought using a relative path was OK, but other modules seem to prefer the generated full path. This probably goes back to a performance debate a while back on requires having to search all of %PATH vs not.

So will do full path way.