Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.374
diff -u -p -r1.374 bootstrap.inc
--- includes/bootstrap.inc	15 Apr 2010 12:01:28 -0000	1.374
+++ includes/bootstrap.inc	19 Apr 2010 17:43:35 -0000
@@ -2314,7 +2314,7 @@ function drupal_get_schema($table = NULL
         module_load_all_includes('install');
       }
 
-      require_once DRUPAL_ROOT . '/includes/common.inc';
+      require_once DRUPAL_ROOT . '/' . variable_get('common_inc', '/includes/common.inc');
       // Invoke hook_schema for all modules.
       foreach (module_implements('schema') as $module) {
         // Cast the result of hook_schema() to an array, as a NULL return value
