1
0
Fork 0
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:
Andreas Hennings 2013-08-01 15:42:30 +02:00
parent 8e9bdfb4da
commit 5369904dd3
9 changed files with 41 additions and 25 deletions

View file

@ -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;
}