summaryrefslogtreecommitdiffstats
path: root/composer-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-24 08:45:55 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-24 08:45:55 +0100
commit83b50d1f4196415daa059c340604c9b0a06d055f (patch)
tree779f6b49674280984782987ca2cd1bac9fad78cd /composer-autoload.php
parenta8027bc1fd8ef1ccd2338b45cda2c076d0c96aad (diff)
composer: 1.3.0
Diffstat (limited to 'composer-autoload.php')
-rw-r--r--composer-autoload.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/composer-autoload.php b/composer-autoload.php
index 19206ae..e36e932 100644
--- a/composer-autoload.php
+++ b/composer-autoload.php
@@ -2,9 +2,7 @@
/* Autoloader for composer/composer and its dependencies */
$vendorDir = '/usr/share/php';
-if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
- require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
-}
+require_once $vendorDir . '/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Composer\\', __DIR__);