Index: modules/pathauto/pathauto.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.module,v
retrieving revision 1.44
diff -u -r1.44 pathauto.module
--- modules/pathauto/pathauto.module	12 Nov 2006 15:12:35 -0000	1.44
+++ modules/pathauto/pathauto.module	19 Jan 2007 22:28:41 -0000
@@ -3,12 +3,14 @@
 
   // Look for any extensions installed in the pathauto directory
   // we include this here instead of hook_menu for a reason - see http://drupal.org/node/60526
-  include_once('pathauto_menu.inc');
-  include_once('pathauto_node.inc');
-  include_once('pathauto_taxonomy.inc');
-  include_once('pathauto_user.inc');
-  include_once('contrib/pathauto_node_event.inc');
-  include_once('contrib/pathauto_node_i18n.inc');
+  $pathauto_path = drupal_get_path('module', 'pathauto');
+  include_once("$pathauto_path/pathauto_menu.inc");
+  include_once("$pathauto_path/pathauto_node.inc");
+  include_once("$pathauto_path/pathauto_taxonomy.inc");
+  include_once("$pathauto_path/pathauto_user.inc");
+  include_once("$pathauto_path/contrib/pathauto_node_event.inc");
+  include_once("$pathauto_path/contrib/pathauto_node_i18n.inc");
+  unset($pathauto_path);
   
 function pathauto_help($section) {
   $output = '';
