test de commit

This commit is contained in:
Manuel Raynaud
2012-10-09 15:53:12 +02:00
parent 47ccf66db5
commit 1578bec3d1
5 changed files with 332 additions and 27 deletions

View File

@@ -6,9 +6,15 @@ require __DIR__ . '/ClassLoader.php';
class ComposerAutoloaderInit
{
private static $loader;
public static function getLoader()
{
$loader = new \Composer\Autoload\ClassLoader();
if (null !== static::$loader) {
return static::$loader;
}
static::$loader = $loader = new \Composer\Autoload\ClassLoader();
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);