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');
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
Comment #1
harry slaughterI 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.