1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00
This commit is contained in:
Jordi Boggiano 2012-08-18 16:18:41 +02:00
parent ef1f8a605f
commit ef637c8f1a
11 changed files with 17 additions and 16 deletions

View file

@ -312,6 +312,7 @@ EOF;
// path starts with vendor dir
return $vendorPath . substr($path, strlen($relVendorPath));
}
return strtr(getcwd(), '\\', '/').'/'.$path;
}
@ -407,6 +408,7 @@ REGISTER_AUTOLOAD;
$file .= <<<METHOD_FOOTER
\$loader->register();
$filesCode
return \$loader;
}