summaryrefslogtreecommitdiffstats
path: root/composer-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-07 08:33:12 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-07 08:33:12 +0100
commit2ab71da2554ff6b2bd873939bec611345ccf63d1 (patch)
tree7eb94666fd1bd5568afc3553b4056c78c72aed12 /composer-autoload.php
parent877f3036cf9b06ec0663ee0c9bbb00b86b58c539 (diff)
composer-1.0.0-0.17.20160106git64b0d72
Diffstat (limited to 'composer-autoload.php')
-rw-r--r--composer-autoload.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/composer-autoload.php b/composer-autoload.php
index 71f153e..811b39c 100644
--- a/composer-autoload.php
+++ b/composer-autoload.php
@@ -1,4 +1,6 @@
<?php
+/* Autoloader for composer/composer and its dependencies */
+
$vendorDir = '/usr/share/php';
// Use Symfony autoloader
if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Component\ClassLoader\ClassLoader)) {
@@ -14,7 +16,6 @@ $fedoraClassLoader->addPrefixes(array(
'Symfony\\Component\\' => $vendorDir,
'Composer\\' => dirname(__DIR__)
));
-$fedoraClassLoader->register();
// Dependencies
require_once $vendorDir . '/Seld/JsonLint/autoload.php';