Fix path for autoloaded libs as the .composer/ dir is now under the vendor/ one.
parent
e4f40272a3
commit
03b06ebbca
|
@ -55,7 +55,7 @@ EOF;
|
|||
$exportedPrefix = var_export($prefix, true);
|
||||
$exportedPath = var_export(($def['path'] ? '/'.$def['path'] : '').'/'.$path, true);
|
||||
$file .= <<<EOF
|
||||
\$loader->add($exportedPrefix, dirname(__DIR__).$exportedPath);
|
||||
\$loader->add($exportedPrefix, dirname(dirname(__DIR__)).$exportedPath);
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue