cudiscounts.php 318 B

1234567891011121314
  1. <?php
  2. /*
  3. * Cumulatiove discounts processing
  4. */
  5. if (ubRouting::get('action') == 'cudiscounts') {
  6. if ($alterconf['CUD_ENABLED']) {
  7. $discounts = new CumulativeDiscounts();
  8. $discounts->processDiscounts();
  9. die('OK:CUDISCOUNTS');
  10. } else {
  11. die('ERROR:CUDISCOUNTS_DISABLED');
  12. }
  13. }