Skip to content

Commit

Permalink
Diable session_unset()
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Sep 10, 2023
1 parent f2d3dbd commit af49a3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cli-php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ memory_limit = 512M
opcache.jit_buffer_size = 128M
opcache.jit = tracing

disable_functions=header,header_remove,headers_sent,headers_list,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,set_time_limit
disable_functions=header,header_remove,headers_sent,headers_list,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,session_unset,set_time_limit
;disable_classes=
5 changes: 4 additions & 1 deletion src/Adapterman.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Adapterman
'http_response_code',

'setcookie',

'session_create_id',
'session_id',
'session_name',
Expand All @@ -38,7 +39,9 @@ class Adapterman
'session_start',
'session_write_close',
'session_regenerate_id',
'set_time_limit'
'session_unset',

'set_time_limit',
];

public static function init(): void
Expand Down

0 comments on commit af49a3b

Please sign in to comment.