summaryrefslogtreecommitdiffstats
path: root/php-league-flysystem-autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'php-league-flysystem-autoload.php')
-rw-r--r--php-league-flysystem-autoload.php15
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__)));