Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2008 at 21:14 UTC
Updated:
16 Jul 2008 at 19:08 UTC
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
Comment #1
merlinofchaos commentedFixed in cvs.
Comment #2
htalvitie commentedRelated: 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?
Comment #3
moshe weitzman commented@htalvitie - yes, sounds good. please join the docs team (if you haven't already) and add it. i like the way you think.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
c960657 commentedRelated: #259623: Broken autoloader: convert includes/requires to use absolute paths