mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 15:36:33 +08:00
22 lines
554 B
PHP
22 lines
554 B
PHP
<?php
|
|
|
|
/**
|
|
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
|
|
* by https://t.me/ibnux
|
|
**/
|
|
|
|
|
|
$action = $routes['1'];
|
|
|
|
|
|
if (file_exists($PAYMENTGATEWAY_PATH . DIRECTORY_SEPARATOR . $action . '.php')) {
|
|
include $PAYMENTGATEWAY_PATH . DIRECTORY_SEPARATOR . $action . '.php';
|
|
if (function_exists($action . '_payment_notification')) {
|
|
run_hook('callback_payment_notification'); #HOOK
|
|
call_user_func($action . '_payment_notification');
|
|
die();
|
|
}
|
|
}
|
|
|
|
header('HTTP/1.1 404 Not Found');
|
|
echo 'Not Found';
|