Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
brookinsconsulting committed Jul 17, 2018
2 parents cd23842 + c12aae5 commit ab2c7b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/config/config.yml
Expand Up @@ -66,7 +66,7 @@ framework:
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
# handler_id set to null will use default session handler from php.ini
handler_id: '%ezplatform.session.handler_id%'
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
save_path: '%ezplatform.session.save_path%'
# Note: eZ Publish also allows session name and session cookie configuration to be per SiteAccess, by
# default session name will be set to "eZSESSID{siteaccess_hash}" (unique session name per siteaccess)
# Further reading on sessions: http://doc.ezplatform.com/en/master/guide/sessions/
Expand Down
1 change: 1 addition & 0 deletions app/config/default_parameters.yml
Expand Up @@ -2,6 +2,7 @@
parameters:
locale_fallback: en
ezplatform.session.handler_id: session.handler.native_file
ezplatform.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'

# A secret key that's used to generate certain security-related tokens
secret: '%env(SYMFONY_SECRET)%'
Expand Down
2 changes: 1 addition & 1 deletion app/config/env/generic.php
Expand Up @@ -87,5 +87,5 @@
}

if ($value = getenv('SESSION_SAVE_PATH')) {
$container->setParameter('session.save_path', $value);
$container->setParameter('ezplatform.session.save_path', $value);
}

0 comments on commit ab2c7b7

Please sign in to comment.