@@ -60,6 +60,8 @@ public static function bootWeb(Paths $paths): int
60
60
$ factoriesCache = static ::loadConfigCache ();
61
61
}
62
62
63
+ static ::autoloadHelpers ();
64
+
63
65
$ app = static ::initializeCodeIgniter ();
64
66
static ::runCodeIgniter ($ app );
65
67
@@ -93,6 +95,7 @@ public static function bootSpark(Paths $paths): int
93
95
static ::loadAutoloader ();
94
96
static ::setExceptionHandler ();
95
97
static ::initializeKint ();
98
+ static ::autoloadHelpers ();
96
99
97
100
static ::initializeCodeIgniter ();
98
101
$ console = static ::initializeConsole ();
@@ -115,6 +118,7 @@ public static function bootTest(Paths $paths): void
115
118
static ::loadAutoloader ();
116
119
static ::setExceptionHandler ();
117
120
static ::initializeKint ();
121
+ static ::autoloadHelpers ();
118
122
}
119
123
120
124
/**
@@ -224,6 +228,10 @@ protected static function loadAutoloader(): void
224
228
225
229
// Initialize and register the loader with the SPL autoloader stack.
226
230
Services::autoloader ()->initialize (new Autoload (), new Modules ())->register ();
231
+ }
232
+
233
+ protected static function autoloadHelpers (): void
234
+ {
227
235
Services::autoloader ()->loadHelpers ();
228
236
}
229
237
0 commit comments