]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/autoload.php
symfony is there
[github/wallabag/wallabag.git] / app / autoload.php
diff --git a/app/autoload.php b/app/autoload.php
new file mode 100644 (file)
index 0000000..70526bb
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+use Doctrine\Common\Annotations\AnnotationRegistry;
+use Composer\Autoload\ClassLoader;
+
+/**
+ * @var ClassLoader $loader
+ */
+$loader = require __DIR__.'/../vendor/autoload.php';
+
+AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
+
+return $loader;