merged branch zachbadgett/frameworkbundle-session-file-handler-fix (PR #4901)
Commits -------23d8735
Added NativeFileSessionHandler to classes to compile .12d6ae7
Removed FileSessionHandler from FrameworkExtension to stop compiling a file that does not exist. Discussion ---------- [FrameworkBundle] Removed FileSessionHandler from FrameworkExtension to stop compiling a file that does not exist. PR #4899 removed FileSessionHandler which caused a class not found error from FrameworkBundle after the cache was created. This PR will fix it. Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Todo: - License of the code: MIT --------------------------------------------------------------------------- by stof at 2012-07-13T19:12:51Z you should add the NativeSessionHandler class in the list instead as it replaces it --------------------------------------------------------------------------- by tystr at 2012-07-13T19:14:29Z +1 --------------------------------------------------------------------------- by zachbadgett at 2012-07-13T19:15:55Z Done
This commit is contained in:
commit
b0d7d9e406
@ -302,7 +302,7 @@ class FrameworkExtension extends Extension
|
|||||||
$this->addClassesToCompile(array(
|
$this->addClassesToCompile(array(
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener',
|
'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener',
|
||||||
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage',
|
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage',
|
||||||
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\FileSessionHandler',
|
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler',
|
||||||
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\AbstractProxy',
|
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\AbstractProxy',
|
||||||
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy',
|
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy',
|
||||||
$container->getDefinition('session')->getClass(),
|
$container->getDefinition('session')->getClass(),
|
||||||
|
Reference in New Issue
Block a user