[FrameworkBundle][Session] Add auto_start pass to the storage options

This commit is contained in:
Deni 2012-02-13 15:43:10 +04:00
parent b80951c21c
commit a395873258
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ class FrameworkExtension extends Extension
// session storage
$container->setAlias('session.storage', $config['storage_id']);
$options = array();
foreach (array('name', 'lifetime', 'path', 'domain', 'secure', 'httponly') as $key) {
foreach (array('name', 'lifetime', 'path', 'domain', 'secure', 'httponly', 'auto_start') as $key) {
if (isset($config[$key])) {
$options[$key] = $config[$key];
}