merged branch igorw/patch-1 (PR #5640)

This PR was merged into the 2.1 branch.

Commits
-------

47d7531 [2.1] Fix SessionHandlerInterface autoloading

Discussion
----------

[2.1] Fix SessionHandlerInterface autoloading

The path for 2.1 is also incorrect. For master, this was fixed in 3b47088c58. This patch adds the `target-dir` prefix to the autoloading base directory of the HttpFoundation stubs.

Note: Issue only affects 2.1, but it probably means `symfony/http-foundation` never worked on PHP 5.3.

---------------------------------------------------------------------------

by stof at 2012-10-01T14:33:18Z

@igorw Can you fix the Locale component too ?

---------------------------------------------------------------------------

by igorw at 2012-10-01T14:42:50Z

As per IRC, locale does not have autoloading for 2.1.
This commit is contained in:
Fabien Potencier 2012-10-01 20:40:45 +02:00
commit 2f5a4d7dbc

View File

@ -21,7 +21,7 @@
"autoload": {
"psr-0": {
"Symfony\\Component\\HttpFoundation": "",
"SessionHandlerInterface": "Resources/stubs"
"SessionHandlerInterface": "Symfony/Component/HttpFoundation/Resources/stubs"
}
},
"target-dir": "Symfony/Component/HttpFoundation",