1
0
Fork 0

When classmap authoratative is enabled, there should be no reason to load 3 files, and process them when autoloader will return false

pull/4556/head
David Walker 2015-10-28 14:29:36 -06:00
parent c557715669
commit e0a6419992
1 changed files with 18 additions and 16 deletions

View File

@ -544,6 +544,7 @@ class ComposerAutoloaderInit$suffix
HEADER;
if (!$this->classMapAuthoritative) {
if ($useIncludePath) {
$file .= <<<'INCLUDE_PATH'
$includePaths = require __DIR__ . '/include_paths.php';
@ -571,6 +572,7 @@ PSR0;
PSR4;
}
if ($useClassMap) {
$file .= <<<'CLASSMAP'