18 lines
501 B
PHP
Raw Normal View History

2017-03-11 02:51:06 +07:00
<?php
2017-03-11 02:51:06 +07:00
/**
2023-10-12 15:55:42 +07:00
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
* by https://t.me/ibnux
**/
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Expires: Tue, 01 Jan 2000 00:00:00 GMT");
header("Pragma: no-cache");
2022-09-18 00:00:40 +07:00
run_hook('customer_logout'); #HOOK
if (session_status() == PHP_SESSION_NONE) session_start();
2024-02-12 09:45:44 +07:00
Admin::removeCookie();
User::removeCookie();
2017-03-11 02:51:06 +07:00
session_destroy();
_alert(Lang::T('Logout Successful'), 'warning', "login");