summaryrefslogtreecommitdiffstatshomepage
path: root/index.php
diff options
context:
space:
mode:
authoreffulgentsia <effulgentsia@78040.no-reply.drupal.org>2012-05-23 23:52:03 -0500
committerLarry Garfield <larry@garfieldtech.com>2012-05-23 23:52:03 -0500
commit35ef2c97ea6b7a032e9a073ef697a8a9c9786a9f (patch)
treeead20ae266db827a6471d48e7cf5c038c3097cff /index.php
parent14416d109eec9d500f7a9add1e9b5ce031ce7c6e (diff)
downloaddrupal-35ef2c97ea6b7a032e9a073ef697a8a9c9786a9f.tar.gz
drupal-35ef2c97ea6b7a032e9a073ef697a8a9c9786a9f.zip
refs #1536844 Clean up bootstrap shivs.
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index b63ba1f2ffc..2f05bb394f4 100644
--- a/index.php
+++ b/index.php
@@ -32,6 +32,11 @@ $request = Request::createFromGlobals();
// container at some point.
request($request);
+// Bootstrap all of Drupal's subsystems, but do not initialize anything that
+// depends on the fully resolved Drupal path, because path resolution happens
+// during the REQUEST event of the kernel.
+// @see Drupal\Core\EventSubscriber\PathSubscriber;
+// @see Drupal\Core\EventSubscriber\LegacyRequestSubscriber;
drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE);
$dispatcher = new EventDispatcher();