Use Native Session functions (global "$_SESSION" variable) for Memory class because of the direct usage of the $_SESSION class all around the codebase

This commit is contained in:
nupplaPhil 2019-12-10 22:29:49 +01:00
parent eca3396851
commit b9f8762eb3
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 13 additions and 73 deletions

View file

@ -47,7 +47,7 @@ class SessionFactory
try {
if ($mode->isInstall() || $mode->isBackend()) {
$session = new Session\Memory();
$session = new Session\Memory($config, $cookie);
} else {
$session_handler = $config->get('system', 'session_handler', self::DEFAULT);