mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-06-07 15:29:55 +00:00
add comparason for php 7.1 support
This commit is contained in:
parent
20680fa590
commit
6799b8d8a2
@ -58,8 +58,12 @@ class SessionCache extends AbstractCache
|
||||
|
||||
public function clear()
|
||||
{
|
||||
if (phpversion() !== false && version_compare(phpversion(), '7.2.0', '<')) {
|
||||
return session_reset();
|
||||
}
|
||||
session_reset();
|
||||
return true;
|
||||
}
|
||||
|
||||
public function has($key)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user