Skip to content

Commit d0599e2

Browse files
authored
[Task]: Make booting consistent (#570)
1 parent b566a6d commit d0599e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
2121

2222
Bootstrap::setProjectRoot();
23-
Bootstrap::bootstrap();
2423

2524
return function (Request $request, array $context) {
2625

2726
// set current request as property on tool as there's no
2827
// request stack available yet
2928
Tool::setCurrentRequest($request);
30-
29+
30+
Bootstrap::bootstrap();
3131
$kernel = Bootstrap::kernel();
3232

3333
// reset current request - will be read from request stack from now on

0 commit comments

Comments
 (0)