forked from kevinowino869/mitrobill
Session using cookie
This commit is contained in:
@ -6,5 +6,7 @@
|
||||
|
||||
run_hook('customer_logout'); #HOOK
|
||||
if (session_status() == PHP_SESSION_NONE) session_start();
|
||||
Admin::removeCookie();
|
||||
User::removeCookie();
|
||||
session_destroy();
|
||||
header('location: index.php');
|
Reference in New Issue
Block a user