[development] Proper method for including external libraries
Joseph Bratton
jbratton at c2fs.com
Wed Oct 11 17:34:43 UTC 2006
Quick question, what is the "proper" method for including external
libraries within a drupal module? Should I place a require_once at the
top of the module, or just at the beginning of any functions within the
module that use that library? Once at the top of the module is cleaner,
but it also means that it is loaded on every page, whether it is
actually used or not.
Thanks,
Joey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20061011/ebfcd68c/attachment.htm
More information about the development
mailing list