Closed (outdated)
Project:
D7 Media
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2013 at 17:16 UTC
Updated:
25 Jan 2019 at 21:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alberto56 commentedHere is a patch that does this.
Comment #2
alberto56 commentedComment #3
alberto56 commentedHere's another version with more calls changed from require_once to module_load_include.
Comment #4
osopolarThe patch works in may case after I had moved the module to a different place. But I don't think that it is the correct way to solve the issue, as the documentation for module_load_include() says:
Comment #5
alberto56 commentedGood point. I am assuming we are loading external files because we don't want the media.module to be get too big. My approach normally is to use autoload classes, so we might have something like this...
That way we're achieving the same result, while Drupal, not the module, is dealing with file management.
Comment #6
chris matthews commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team