I think you can safely include it when you need it.

On 10/11/06, Joseph Bratton <jbratton@c2fs.com> wrote:

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