mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-07-29 13:19:49 +00:00
Fix Session SessionCache not return bool in 7.1
This commit is contained in:
@ -58,7 +58,8 @@ class SessionCache extends AbstractCache
|
|||||||
|
|
||||||
public function clear()
|
public function clear()
|
||||||
{
|
{
|
||||||
if (phpversion() !== false && version_compare(phpversion(), '7.2.0', '<')) {
|
dump(phpversion());
|
||||||
|
if (phpversion() !== false && version_compare(phpversion(), '7.2.0', '>=')) {
|
||||||
return session_reset();
|
return session_reset();
|
||||||
}
|
}
|
||||||
session_reset();
|
session_reset();
|
||||||
|
Reference in New Issue
Block a user