summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2011-10-29 09:02:28 (GMT)
committercatch2011-10-29 09:02:28 (GMT)
commit79998f4d0fde15a46f1d477abad5e940c289c81f (patch)
treea34c853e35b137f0d74bbd4aa0c792b971b60d89
parent2c195f0761c813d268275f05effa2dccc7990350 (diff)
Issue #1320648 by Crell: Register Drupal namespace for autoloader.
-rw-r--r--includes/bootstrap.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 22a2e97..1cd7ac2 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -2263,6 +2263,8 @@ function _drupal_bootstrap_configuration() {
$loader->registerNamespaces(array(
// All Symfony-borrowed code lives in /includes/Symfony.
'Symfony' => DRUPAL_ROOT . '/includes',
+ // All Drupal-namespaced code in core lives in /includes/Drupal.
+ 'Drupal' => DRUPAL_ROOT . '/includes',
));
// Activate the autoloader.