1234567891011121314151617 |
- <?php
- if (ubRouting::get('action') == 'visorcharge') {
- if ($alterconf['VISOR_ENABLED']) {
- if (date("d") == date("t")) {
-
- $visor = new UbillingVisor();
- $visor->chargeProcessing();
- die('OK:VISORCHARGE');
- } else {
- die('OK:VISOR_SKIP');
- }
- } else {
- die('ERROR: VISOR DISABLED');
- }
- }
|