diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-28 09:18:43 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-28 09:18:43 +0200 |
commit | 3695202b33324694daf68e2deb4e4ed2f8a89714 (patch) | |
tree | ae0e99a9139485064c94aa97c42abe66acf07c7a /php-bartlett-umlwriter-autoload.php | |
parent | eed58a2aa72cb29842614207cf07a1b2e7e4b0e5 (diff) |
php-bartlett-umlwriter: fix autoloader
Diffstat (limited to 'php-bartlett-umlwriter-autoload.php')
-rw-r--r-- | php-bartlett-umlwriter-autoload.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/php-bartlett-umlwriter-autoload.php b/php-bartlett-umlwriter-autoload.php index 7f70544..8581826 100644 --- a/php-bartlett-umlwriter-autoload.php +++ b/php-bartlett-umlwriter-autoload.php @@ -15,13 +15,10 @@ if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Compo $fedoraClassLoader->register(); } $fedoraClassLoader->addPrefixes(array( - 'Symfony\\Component' => $vendorDir, - 'TokenReflection' => $vendorDir, - 'Bartlett\\Umlwiter' => dirname(dirname(__DIR__)), + 'Symfony\\Component\\' => $vendorDir, + 'TokenReflection\\' => $vendorDir, + 'Bartlett\\UmlWriter\\' => dirname(dirname(__DIR__)), )); -if (is_file('/usr/share/php-bartlett-PHP-CompatInfo/compatinfo.sqlite')) { - putenv('BARTLETT_COMPATINFO_DB=/usr/share/php-bartlett-PHP-CompatInfo/compatinfo.sqlite'); -} // Dependencies require_once $vendorDir . '/SebastianBergmann/Version/autoload.php'; |