the standard in core for includes/requires is to have a leading period like ./sites/all/modules/views/arguments/ (for example). the benefit of the leading period+slash is that you avoid php searching the include path for the file.

Comments

merlinofchaos’s picture

Status: Active » Fixed

Fixed in cvs.

htalvitie’s picture

Related: http://drupal.org/node/230929 (Use consistent syntax (./path/, not path/) for includes)

@moshe: The "./path" syntax requirement is not mentioned currently on http://drupal.org/coding-standards (section "Including Code"). Maybe this should be added?

moshe weitzman’s picture

@htalvitie - yes, sounds good. please join the docs team (if you haven't already) and add it. i like the way you think.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.