mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
fix session
This commit is contained in:
parent
44621f0016
commit
d6831025e5
|
@ -55,6 +55,9 @@ class LsSession extends Module {
|
|||
Config::Get('sys.session.path'),
|
||||
Config::Get('sys.session.host')
|
||||
);
|
||||
if(!session_id()) {
|
||||
session_regenerate_id();
|
||||
}
|
||||
session_start();
|
||||
} else {
|
||||
$this->SetId();
|
||||
|
|
Loading…
Reference in a new issue