Files
.github
admin
docs
install
pages_template
qrcode
scan
system
autoload
cache
controllers
accounts.php
admin.php
autoload.php
autoload_user.php
bandwidth.php
callback.php
community.php
customers.php
dashboard.php
default.php
export.php
home.php
index.html
login.php
logout.php
logs.php
mail.php
map.php
message.php
order.php
page.php
pages.php
paymentgateway.php
plan.php
plugin.php
pluginmanager.php
pool.php
radius.php
register.php
reports.php
routers.php
search_user.php
services.php
settings.php
voucher.php
devices
lan
paymentgateway
plugin
uploads
vendor
.htaccess
api.php
boot.php
composer.json
composer.lock
cron.php
cron_reminder.php
index.html
orm.php
updates.json
ui
.gitignore
.htaccess_firewall
CHANGELOG.md
Dockerfile
LICENSE
README.md
composer.json
config.sample.php
docker-compose.example.yml
favicon.ico
index.php
init.php
radius.php
update.php
version.json
mitrobill/system/controllers/logout.php

12 lines
340 B
PHP
Raw Normal View History

2017-03-11 02:51:06 +07:00
<?php
/**
2023-10-12 15:55:42 +07:00
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
* by https://t.me/ibnux
**/
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();
2024-02-23 14:20:12 +07:00
_alert(Lang::T('Logout Successful'),'warning', "login");