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