--- pathauto.module	2007-01-17 17:02:42.000000000 +0000
+++ pathauto.module.new	2007-01-19 15:17:06.000000000 +0000
@@ -3,13 +3,13 @@

   // 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');
-
+  $path = drupal_get_path('module', 'pathauto');
+  include_once("$path/pathauto_menu.inc");
+  include_once("$path/pathauto_node.inc");
+  include_once("$path/pathauto_taxonomy.inc");
+  include_once("$path/pathauto_user.inc");
+  include_once("$path/contrib/pathauto_node_event.inc");
+  include_once("$path/contrib/pathauto_node_i18n.inc");
+
 function pathauto_help($section) {
   $output = '';
   switch ($section) {
