Posted by NikLP on December 28, 2006 at 8:10pm
Jump to:
| Project: | Reports |
| Version: | 5.x-0.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Harry Slaughter |
| Status: | closed (fixed) |
Issue Summary
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
#1
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.