phpnuxbill/system/controllers/logout.php

8 lines
235 B
PHP
Raw Normal View History

2017-03-11 03:51:06 +08:00
<?php
/**
2022-10-16 15:50:24 +08:00
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
2017-03-11 03:51:06 +08:00
**/
2022-09-18 01:00:40 +08:00
run_hook('customer_logout'); #HOOK
if (session_status() == PHP_SESSION_NONE) session_start();
2017-03-11 03:51:06 +08:00
session_destroy();
header('location: index.php');