Skip to content

Commit

Permalink
merged branch drak/sessionhandlerinterface (PR symfony#273)
Browse files Browse the repository at this point in the history
Commits
-------

bfec438 Update autoloader for PHP 5.4 forward compatibility.

Discussion
----------

PHP 5.4 Sessionhandlerinterface forward compatibility

References symfony/symfony#3384
  • Loading branch information
fabpot committed Feb 22, 2012
2 parents 5794e25 + bfec438 commit 96ca17b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
if (!function_exists('intl_get_error_code')) {
require_once __DIR__.'/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';

$loader->registerPrefixFallbacks(array(__DIR__.'/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs'));
$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',
Expand Down

0 comments on commit 96ca17b

Please sign in to comment.