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);
|
$exportedPrefix = var_export($prefix, true);
|
||||||
$exportedPath = var_export(($def['path'] ? '/'.$def['path'] : '').'/'.$path, true);
|
$exportedPath = var_export(($def['path'] ? '/'.$def['path'] : '').'/'.$path, true);
|
||||||
$file .= <<<EOF
|
$file .= <<<EOF
|
||||||
\$loader->add($exportedPrefix, dirname(__DIR__).$exportedPath);
|
\$loader->add($exportedPrefix, dirname(dirname(__DIR__)).$exportedPath);
|
||||||
|
|
||||||
EOF;
|
EOF;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue