I think the title says it all.
views:
195answers:
1
+4
A:
module_load_include will find the path to the module listed and then the file inside that module's folder, which in some multi-site (or now, with installation profiles) can be different. It's just a step to reduce the code needed to be generalized enough for the entire community.
Chris Ridenour
2010-01-20 15:56:13
it may be less clear if you're including a file in your own module - it's probably just in a subfolder. If you're including from another module however, you never know if it's in sites/all/modules, sites/default/modules, etc.... Module_load_include will also return false if the file doesn't exist, rather than throwing a PHP error
GApple
2010-01-20 17:13:55