We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c97a29f commit d0a2879Copy full SHA for d0a2879
src/Codeception/Module/Symfony.php
@@ -186,6 +186,13 @@ public function _initialize(): void
186
}
187
188
$this->kernel = new $this->kernelClass($this->config['environment'], $this->config['debug']);
189
+
190
+ $bootstrapFile = $this->kernel->getProjectDir() . '/config/bootstrap.php';
191
+ if (file_exists($bootstrapFile)) {
192
+ $_ENV['APP_ENV'] = $this->config['environment'];
193
+ require $bootstrapFile;
194
+ }
195
196
$this->kernel->boot();
197
198
if ($this->config['cache_router'] === true) {
0 commit comments