Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
79998f4d
Commit
79998f4d
authored
Oct 29, 2011
by
Nathaniel Catchpole
Browse files
Issue
#1320648
by Crell: Register Drupal namespace for autoloader.
parent
2c195f07
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
79998f4d
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment