File tree 3 files changed +27
-0
lines changed
3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ deny from all
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $ vendorDir = __DIR__ .'/vendor ' ;
4
+
5
+ require_once $ vendorDir .'/symfony/src/Symfony/Component/HttpFoundation/UniversalClassLoader.php ' ;
6
+
7
+ use Symfony \Component \HttpFoundation \UniversalClassLoader ;
8
+
9
+ $ loader = new UniversalClassLoader ();
10
+ $ loader ->registerNamespaces (array (
11
+ 'Symfony ' => $ vendorDir .'/symfony/src ' ,
12
+ 'Application ' => __DIR__ ,
13
+ 'Bundle ' => __DIR__ ,
14
+ 'Doctrine \\Common \\DataFixtures ' => $ vendorDir .'/doctrine-data-fixtures/lib ' ,
15
+ 'Doctrine \\Common ' => $ vendorDir .'/doctrine-common/lib ' ,
16
+ 'Doctrine \\DBAL \\Migrations ' => $ vendorDir .'/doctrine-migrations/lib ' ,
17
+ 'Doctrine \\ODM \\MongoDB ' => $ vendorDir .'/doctrine-mongodb/lib ' ,
18
+ 'Doctrine \\DBAL ' => $ vendorDir .'/doctrine-dbal/lib ' ,
19
+ 'Doctrine ' => $ vendorDir .'/doctrine/lib ' ,
20
+ 'Zend ' => $ vendorDir .'/zend/library ' ,
21
+ ));
22
+ $ loader ->registerPrefixes (array (
23
+ 'Swift_ ' => $ vendorDir .'/swiftmailer/lib/classes ' ,
24
+ 'Twig_ ' => $ vendorDir .'/twig/lib ' ,
25
+ ));
26
+ $ loader ->register ();
You can’t perform that action at this time.
0 commit comments