mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
autoload_files.php should return an array of files, instead of directly including them.
This commit is contained in:
parent
8e9bdfb4da
commit
5369904dd3
9 changed files with 41 additions and 25 deletions
|
@ -38,7 +38,9 @@ class ComposerAutoloaderInitFilesAutoload
|
|||
|
||||
$loader->register(true);
|
||||
|
||||
require __DIR__ . '/autoload_files.php';
|
||||
foreach (require __DIR__ . '/autoload_files.php' as $file) {
|
||||
require $file;
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue