Update composer path

This commit is contained in:
Nicolas Le Goff
2012-05-21 18:30:26 +02:00
parent 3910a39f1c
commit 41e7e2402f
2 changed files with 2 additions and 2 deletions

View File

@@ -417,7 +417,7 @@ class Core extends \Pimple
} }
$getComposerNamespaces = function() { $getComposerNamespaces = function() {
return require realpath(__DIR__ . '/../../../vendor/.composer/autoload_namespaces.php'); return require realpath(__DIR__ . '/../../../vendor/autoload_namespaces.php');
}; };
foreach ($getComposerNamespaces() as $prefix => $path) { foreach ($getComposerNamespaces() as $prefix => $path) {

View File

@@ -42,7 +42,7 @@ class Autoloader extends UniversalClassLoader
$this->paths['library'] = __DIR__ . '/../../../classes/'; $this->paths['library'] = __DIR__ . '/../../../classes/';
$getComposerClassMap = function() { $getComposerClassMap = function() {
return require realpath(__DIR__ . '/../../../../vendor/.composer/autoload_classmap.php'); return require realpath(__DIR__ . '/../../../../vendor/autoload_classmap.php');
}; };
$this->classmap = $getComposerClassMap(); $this->classmap = $getComposerClassMap();