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