Index: htmlpurifier.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/htmlpurifier/htmlpurifier.install,v retrieving revision 1.13 diff -u -p -r1.13 htmlpurifier.install --- htmlpurifier.install 9 Jun 2010 17:07:14 -0000 1.13 +++ htmlpurifier.install 28 Jun 2010 14:09:36 -0000 @@ -41,6 +41,11 @@ function htmlpurifier_requirements($phas $requirements = array(); $t = get_t(); + // if libraries api module is not installed but available, load it + if (!function_exists('libraries_get_path') && file_exists(dirname(__FILE__) . '/../libraries/libraries.module')) { + require_once(dirname(__FILE__) . '/../libraries/libraries.module'); + } + // If it's still not available, use something else $complain_loc = false; if (function_exists('libraries_get_path')) {