diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-01-23 13:11:01 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-01-23 13:11:01 +0100 |
commit | 2a698bd9e4ee1a5989b6b682a089dde1c7fa13fa (patch) | |
tree | 1cc5ac0691dc604090c98d719b9816382fb36dd8 /php-league-flysystem-autoload.php | |
parent | ee91ac9c2596c34c4814736f1923601930a4f30b (diff) |
php-league-flysystem: 1.0.33
Diffstat (limited to 'php-league-flysystem-autoload.php')
-rw-r--r-- | php-league-flysystem-autoload.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/php-league-flysystem-autoload.php b/php-league-flysystem-autoload.php deleted file mode 100644 index dcbdda2..0000000 --- a/php-league-flysystem-autoload.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -/* Autoloader for league/flysystem and its dependencies */ - -$vendorDir = '/usr/share/php'; -// Use Symfony autoloader -if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Component\ClassLoader\ClassLoader)) { - if (!class_exists('Symfony\\Component\\ClassLoader\\ClassLoader', false)) { - require_once $vendorDir . '/Symfony/Component/ClassLoader/ClassLoader.php'; - } - - $fedoraClassLoader = new \Symfony\Component\ClassLoader\ClassLoader(); - $fedoraClassLoader->register(); -} - -$fedoraClassLoader->addPrefix('League\\Flysystem\\', dirname(dirname(__DIR__))); |