We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252ec33 commit 22d1526Copy full SHA for 22d1526
includes/bootstrap.inc
@@ -2191,7 +2191,7 @@ function drupal_anonymous_user() {
2191
* @return
2192
* The most recently completed phase.
2193
*/
2194
-function drupal_bootstrap($phase = NULL, $new_phase = TRUE, \Drupal\Core\Bootstrap $object = NULL) {
+function drupal_bootstrap($phase = NULL, $new_phase = TRUE, \Drupal\Core\BootstrapInterface $object = NULL) {
2195
static $bootstrap;
2196
if (!isset($bootstrap)) {
2197
if (!isset($object)) {
index.php
@@ -19,5 +19,5 @@
19
define('DRUPAL_ROOT', getcwd());
20
21
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
22
-drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
+drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL, TRUE, new \Drupal\Core\Bootstrap());
23
menu_execute_active_handler();
0 commit comments