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
forgot.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/callback.php

23 lines
554 B
PHP
Raw Normal View History

2022-09-10 12:17:38 +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-10 12:17:38 +07:00
**/
2022-09-17 21:05:24 +07:00
2023-10-12 15:55:42 +07:00
2022-09-10 12:17:38 +07:00
$action = $routes['1'];
2024-02-26 14:38:04 +07:00
if (file_exists($PAYMENTGATEWAY_PATH . DIRECTORY_SEPARATOR . $action . '.php')) {
include $PAYMENTGATEWAY_PATH . DIRECTORY_SEPARATOR . $action . '.php';
if (function_exists($action . '_payment_notification')) {
2022-09-18 00:00:40 +07:00
run_hook('callback_payment_notification'); #HOOK
2024-02-26 14:38:04 +07:00
call_user_func($action . '_payment_notification');
2022-09-17 21:05:24 +07:00
die();
}
}
2022-09-10 12:17:38 +07:00
2022-09-17 21:05:24 +07:00
header('HTTP/1.1 404 Not Found');
2024-02-26 14:38:04 +07:00
echo 'Not Found';