? devel.module.patch
Index: devel.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/devel/devel.module,v
retrieving revision 1.473
diff -u -p -r1.473 devel.module
--- devel.module	16 Jan 2011 00:17:13 -0000	1.473
+++ devel.module	26 Jan 2011 13:39:14 -0000
@@ -373,30 +373,33 @@ function devel_init() {
       has_krumo();
 
       // See http://www.firephp.org/HQ/Install.htm
-      $path = NULL;
       if (@include_once('fb.php')) {
         // FirePHPCore is in include_path. Probably a PEAR installation.
-        $path = '';
-      }
-      elseif (module_exists('libraries')) {
-        // Support Libraries API - http://drupal.org/project/libraries
-        $firephp_path = libraries_get_path('FirePHPCore') . '/lib/FirePHPCore/';
-        $chromephp_path = libraries_get_path('chromephp');
-      }
+        @include_once 'FirePHP.class.php';
+        @include_once 'ChromePhp.php';
+      } 
       else {
-        $firephp_path = './'. drupal_get_path('module', 'devel') .'/FirePHPCore/lib/FirePHPCore/';
-        $chromephp_path = './' . drupal_get_path('module', 'devel') .'/chromephp';
-      }
-
-      // include FirePHP if exists...
-      if (file_exists($firephp_path .'fb.php')) {
-        include_once $firephp_path .'fb.php';
-        include_once $firephp_path .'FirePHP.class.php';
-      }
+        
+        if (module_exists('libraries')) {
+          // Support Libraries API - http://drupal.org/project/libraries
+          $firephp_path = libraries_get_path('FirePHPCore') . '/lib/FirePHPCore/';
+          $chromephp_path = libraries_get_path('chromephp');
+        }
+        else {
+          $firephp_path = './'. drupal_get_path('module', 'devel') .'/FirePHPCore/lib/FirePHPCore/';
+          $chromephp_path = './' . drupal_get_path('module', 'devel') .'/chromephp';
+        }
+      
+        // include FirePHP if exists...
+        if (file_exists($firephp_path .'fb.php')) {
+          include_once $firephp_path .'fb.php';
+          include_once $firephp_path .'FirePHP.class.php';
+        }
 
-      // include ChromePHP if exists...
-      if (file_exists($chromephp_path . '/ChromePhp.php')) {
-        include_once $chromephp_path . '/ChromePhp.php';
+        // include ChromePHP if exists...
+        if (file_exists($chromephp_path . '/ChromePhp.php')) {
+          include_once $chromephp_path . '/ChromePhp.php';
+        }
       }
 
 
