Skip to content

Commit 623b102

Browse files
committed
test: fix: restore require_once that was accidentally deleted
1 parent 9e9b9cd commit 623b102

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

system/Test/bootstrap.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ class_alias('Config\Services', 'CodeIgniter\Services');
8484
// Initialize and register the loader with the SPL autoloader stack.
8585
Services::autoloader()->initialize(new Autoload(), new Modules())->register();
8686

87+
// Now load Composer's if it's available
88+
if (is_file(COMPOSER_PATH)) {
89+
require_once COMPOSER_PATH;
90+
}
91+
8792
// Load environment settings from .env files into $_SERVER and $_ENV
8893
require_once SYSTEMPATH . 'Config/DotEnv.php';
8994

0 commit comments

Comments
 (0)