From 82df89f665665f1023a64d2c544d24ef1779886a Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Thu, 26 Jan 2023 14:03:24 +0100 Subject: [PATCH] Swap out bootstrapper for our own --- packages/framework/src/Foundation/Internal/Kernel.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/framework/src/Foundation/Internal/Kernel.php b/packages/framework/src/Foundation/Internal/Kernel.php index 1a2efb9727d..832cdfb2ea5 100644 --- a/packages/framework/src/Foundation/Internal/Kernel.php +++ b/packages/framework/src/Foundation/Internal/Kernel.php @@ -16,6 +16,9 @@ class Kernel extends \Illuminate\Foundation\Console\Kernel */ protected function bootstrappers() { - return $this->bootstrappers; + $array = array_combine(parent::bootstrappers(), parent::bootstrappers()); + $array[\Illuminate\Foundation\Bootstrap\LoadConfiguration::class] = \Hyde\Foundation\Internal\LoadConfiguration::class; + + return array_values($array); } }