summaryrefslogtreecommitdiffstats
path: root/composer-autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'composer-autoload.php')
-rw-r--r--composer-autoload.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/composer-autoload.php b/composer-autoload.php
new file mode 100644
index 0000000..546fe98
--- /dev/null
+++ b/composer-autoload.php
@@ -0,0 +1,16 @@
+<?php
+$vendorDir = '/usr/share/php';
+require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php';
+use Symfony\Component\ClassLoader\UniversalClassLoader;
+
+$loader = new UniversalClassLoader();
+$loader->registerNamespaces(array(
+ 'Seld\\JsonLint' => $vendorDir,
+ 'JsonSchema' => $vendorDir,
+ 'Symfony\\Component\\Console' => $vendorDir,
+ 'Symfony\\Component\\Finder' => $vendorDir,
+ 'Symfony\\Component\\Process' => $vendorDir,
+ 'Symfony\\Component\\ClassLoader' => $vendorDir,
+ 'Composer' => dirname(__DIR__)
+));
+$loader->register();