Merge branch 'develop' of https://github.com/getgrav/grav into 1.6

# Conflicts:
#	CHANGELOG.md
This commit is contained in:
Matias Griese
2018-10-26 08:58:01 +03:00
2 changed files with 10 additions and 2 deletions

View File

@@ -58,6 +58,12 @@
* Doctrine filecache is now namespaced with prefix to support purging
* Register all page types into `blueprint://pages` stream
# v1.5.4
## mm/dd/2018
1. [](#bugfix)
* Fixed fatal error if calling `$session->invalidate()` when there's no active session
# v1.5.3
## 10/08/2018

View File

@@ -225,8 +225,10 @@ class Session implements SessionInterface
$params['httponly']
);
session_unset();
session_destroy();
if ($this->isSessionStarted()) {
session_unset();
session_destroy();
}
$this->started = false;