--- filefield_paths.module 2009-07-03 02:11:11.000000000 -0500 +++ filefield_pathsUpdated.module 2010-03-17 12:40:56.000000000 -0500 @@ -60,7 +60,7 @@ */ function filefield_paths_init() { foreach (module_list() as $module) { - if (file_exists($file = drupal_get_path('module', 'filefield_paths') .'/modules/'. $module .'.inc')) { + if (file_exists($file = dirname(drupal_get_filename('module', 'filefield_paths')) .'/modules/'. $module .'.inc')) { require_once $file; } }