Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Feb 25, 2012
1 parent 1e4644a commit 32a0f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@

$loader->registerPrefixFallback(__DIR__.'/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs');
}

if (!interface_exists('SessionHandlerInterface', false)) {
$loader->registerPrefix('SessionHandlerInterface', __DIR__.'/../vendor/symfony/src/Symfony/Component/HttpFoundation/Resources/stubs');
}
$loader->register();

$loader->registerNamespaceFallbacks(array(
__DIR__.'/../src',
));

$loader->register();

AnnotationRegistry::registerLoader(function($class) use ($loader) {
Expand All @@ -47,4 +48,3 @@
// the lazy loading of the init file (which is expensive)
require_once __DIR__.'/../vendor/swiftmailer/lib/classes/Swift.php';
Swift::registerAutoload(__DIR__.'/../vendor/swiftmailer/lib/swift_init.php');

0 comments on commit 32a0f51

Please sign in to comment.