1
0
Fork 0

Fix path for autoloaded libs as the .composer/ dir is now under the vendor/ one.

pull/72/head
Fabien Potencier 2011-10-30 09:51:16 +01:00
parent e4f40272a3
commit 03b06ebbca
1 changed files with 1 additions and 1 deletions

View File

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