mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
fix session handling broken in 1b3d232
This commit is contained in:
parent
c4cab440ac
commit
fe6164bf7d
1 changed files with 3 additions and 0 deletions
|
|
@ -146,6 +146,9 @@ function check_token()
|
|||
|
||||
function setup_and_start_session()
|
||||
{
|
||||
require_once(MTTINC. 'class.sessionhandler.php');
|
||||
session_set_save_handler(new MTTSessionHandler());
|
||||
|
||||
ini_set('session.use_cookies', true);
|
||||
ini_set('session.use_only_cookies', true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue