phpnuxbill/system/controllers/callback.php

19 lines
406 B
PHP
Raw Normal View History

2022-09-10 13:17:38 +08:00
<?php
/**
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
**/
2022-09-17 22:05:24 +08:00
2022-09-10 13:17:38 +08:00
$action = $routes['1'];
2022-09-17 22:05:24 +08:00
if(file_exists('system/paymentgateway/'.$action.'.php')){
include 'system/paymentgateway/'.$action.'.php';
if(function_exists($action.'_payment_notification')){
call_user_func($action.'_payment_notification');
die();
}
}
2022-09-10 13:17:38 +08:00
2022-09-17 22:05:24 +08:00
header('HTTP/1.1 404 Not Found');
echo 'Not Found';