Fixed system.languages.session_store_active not having any effect [#3269]

This commit is contained in:
Matias Griese
2021-04-09 13:11:08 +03:00
parent 029b408915
commit c5296cd7e0
2 changed files with 9 additions and 8 deletions

View File

@@ -7,6 +7,7 @@
* Fixed nxinx appending repeating `?_url=` in some redirects
* Fixed deleting page with language code not removing the folder if it was the last language [#3305](https://github.com/getgrav/grav/issues/3305)
* Fixed fatal error when using markdown links with `image://` stream [#3285](https://github.com/getgrav/grav/issues/3285)
* Fixed `system.languages.session_store_active` not having any effect [#3269](https://github.com/getgrav/grav/issues/3269)
# v1.7.10
## 04/06/2021

View File

@@ -101,7 +101,14 @@ class InitializeProcessor extends ProcessorBase
// Load pages.
$this->initializePages($config);
// Initialize URI.
// Load accounts (decides class to be used).
// TODO: remove in 2.0.
$this->container['accounts'];
// Initialize session.
$this->initializeSession($config);
// Initialize URI (uses session, see issue #3269).
$this->initializeUri($config);
// Grav may return redirect response right away.
@@ -115,13 +122,6 @@ class InitializeProcessor extends ProcessorBase
}
}
// Load accounts (decides class to be used).
// TODO: remove in 2.0.
$this->container['accounts'];
// Initialize session.
$this->initializeSession($config);
$this->stopTimer('_init');
// Wrap call to next handler so that debugger can profile it.