From 3166e3cd8d22b9a182074581958eb129ef14cd45 Mon Sep 17 00:00:00 2001 From: JiaJia Ji Date: Thu, 22 Feb 2024 13:56:10 +0100 Subject: [PATCH] Update index.php --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 2bd8c8e49..c296606f5 100644 --- a/public/index.php +++ b/public/index.php @@ -19,7 +19,6 @@ require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; Bootstrap::setProjectRoot(); -Bootstrap::bootstrap(); return function (Request $request, array $context) { @@ -27,6 +26,7 @@ // request stack available yet Tool::setCurrentRequest($request); + Bootstrap::bootstrap(); $kernel = Bootstrap::kernel(); // reset current request - will be read from request stack from now on