10000 merged branch zachbadgett/frameworkbundle-session-file-handler-fix (P… · nathanlon/symfony@b0d7d9e · GitHub
[go: up one dir, main page]

Skip to content

Commit b0d7d9e

Browse files
committed
merged branch zachbadgett/frameworkbundle-session-file-handler-fix (PR symfony#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 symfony#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
2 parents a27aeda + 23d8735 commit b0d7d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ private function registerSessionConfiguration(array $config, ContainerBuilder $c
302302
$this->addClassesToCompile(array(
303303
'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SessionListener',
304304
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage',
305-
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\FileSessionHandler',
305+
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler',
306306
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\AbstractProxy',
307307
'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy',
308308
$container->getDefinition('session')->getClass(),

0 commit comments

Comments
 (0)
0