-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed initialization files to be more flexible (bootstrap file when…
… using the Symfony2 reverse proxy for instance should be different)
- Loading branch information
Showing
8 changed files
with
32 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
use Symfony\Component\ClassLoader\UniversalClassLoader; | ||
|
||
$loader = new UniversalClassLoader(); | ||
$loader->registerNamespaces(array( | ||
'Symfony' => __DIR__.'/../src/vendor/symfony/src', | ||
'Application' => __DIR__.'/../src', | ||
'Bundle' => __DIR__.'/../src', | ||
'Doctrine\\Common\\DataFixtures' => __DIR__.'/../src/vendor/doctrine-data-fixtures/lib', | ||
'Doctrine\\Common' => __DIR__.'/../src/vendor/doctrine-common/lib', | ||
'Doctrine\\DBAL\\Migrations' => __DIR__.'/../src/vendor/doctrine-migrations/lib', | ||
'Doctrine\\MongoDB' => __DIR__.'/../src/vendor/doctrine-mongodb/lib', | ||
'Doctrine\\ODM\\MongoDB' => __DIR__.'/../src/vendor/doctrine-mongodb-odm/lib', | ||
'Doctrine\\DBAL' => __DIR__.'/../src/vendor/doctrine-dbal/lib', | ||
'Doctrine' => __DIR__.'/../src/vendor/doctrine/lib', | ||
'Zend' => __DIR__.'/../src/vendor/zend/library', | ||
)); | ||
$loader->registerPrefixes(array( | ||
'Twig_Extensions_' => __DIR__.'/../src/vendor/twig-extensions/lib', | ||
'Twig_' => __DIR__.'/../src/vendor/twig/lib', | ||
'Swift_' => __DIR__.'/../src/vendor/swiftmailer/lib/classes', | ||
)); | ||
$loader->register(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
|
||
require_once __DIR__.'/../src/vendor/symfony/src/Symfony/Component/HttpKernel/bootstrap.php'; | ||
require_once __DIR__.'/autoload.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters