123456789101112131415161718192021 |
- <?php
- /**
- * DDT processing
- */
- if (ubRouting::get('action') == 'ddt') {
- if ($alterconf['DDT_ENABLED']) {
- if ($alterconf['DEALWITHIT_ENABLED']) {
- $ddtApiRun = new DoomsDayTariffs();
- $ddtApiRun->runProcessing();
- die('OK:DDTPROCESSING:');
- } else {
- die('ERROR:NO_DEALWITHIT_ENABLED');
- }
- } else {
- die('ERROR:NO_DDT_ENABLED');
- }
- }
-
|