diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-10-27 14:03:59 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-10-27 14:03:59 +0100 |
commit | 6fbfd61c08e05217690af6ac73f53888c9f13bd9 (patch) | |
tree | 6d581b28e857b120bc3cc584a805912e8a492ecf /autoload.php | |
parent | 13dc07fb3f31bc4ebe680cee50200b8e8dfc9bf0 (diff) |
Diffstat (limited to 'autoload.php')
-rw-r--r-- | autoload.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/autoload.php b/autoload.php deleted file mode 100644 index ed6bba9..0000000 --- a/autoload.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -$vendor = '/usr/share/php'; -if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Component\ClassLoader\ClassLoader)) { - if (!class_exists('Symfony\\Component\\ClassLoader\\ClassLoader', false)) { - require_once $vendor . '/Symfony/Component/ClassLoader/ClassLoader.php'; - } - - $fedoraClassLoader = new \Symfony\Component\ClassLoader\ClassLoader(); - $fedoraClassLoader->register(); -} - -if (file_exists( $vendor . '/Monolog/autoload.php')) { - require_once $vendor . '/Monolog/autoload.php'; - -} else if (is_dir($vendor . '/Monolog')) { - $fedoraClassLoader->addPrefix('Monolog', $vendor); - $fedoraClassLoader->addPrefix('Psr\\Log', $vendor); -} -$fedoraClassLoader->addPrefix('Liuggio\\StatsdClient', dirname(dirname(__DIR__))); - -return $fedoraClassLoader; |