Commit 79998f4d authored by catch's avatar catch
Browse files

Issue #1320648 by Crell: Register Drupal namespace for autoloader.

parent 2c195f07
...@@ -2263,6 +2263,8 @@ function _drupal_bootstrap_configuration() { ...@@ -2263,6 +2263,8 @@ function _drupal_bootstrap_configuration() {
$loader->registerNamespaces(array( $loader->registerNamespaces(array(
// All Symfony-borrowed code lives in /includes/Symfony. // All Symfony-borrowed code lives in /includes/Symfony.
'Symfony' => DRUPAL_ROOT . '/includes', 'Symfony' => DRUPAL_ROOT . '/includes',
// All Drupal-namespaced code in core lives in /includes/Drupal.
'Drupal' => DRUPAL_ROOT . '/includes',
)); ));
// Activate the autoloader. // Activate the autoloader.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment