Compare commits
2 Commits
4aca432257
...
cc8f1e1ace
Author | SHA1 | Date | |
---|---|---|---|
cc8f1e1ace | |||
97e04d785c |
6
web.php
6
web.php
@ -89,7 +89,11 @@ Container::$routeCollection->group('communities', function (RouteCollection $rou
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
Container::$sessionHandler = new DatabaseSessionHandler(Container::$dbConnection, 'sessions', new DateTime('-1 minute'));
|
Container::$sessionHandler = new DatabaseSessionHandler(
|
||||||
|
Container::$dbConnection,
|
||||||
|
'sessions',
|
||||||
|
new DateTime('-7 days')
|
||||||
|
);
|
||||||
|
|
||||||
session_set_save_handler(Container::$sessionHandler, true);
|
session_set_save_handler(Container::$sessionHandler, true);
|
||||||
session_start([
|
session_start([
|
||||||
|
Loading…
Reference in New Issue
Block a user