smszilla.php 517 B

1234567891011121314151617
  1. <?php
  2. //SMSZilla background automated sending
  3. if (ubRouting::get('action') == 'smszilla') {
  4. if ($alterconf['SMSZILLA_ENABLED']) {
  5. if (ubRouting::checkGet(array('templateid', 'filterid'))) {
  6. $smszilla = new SMSZilla();
  7. $smszilla->filtersPreprocessing(ubRouting::get('filterid'), ubRouting::get('templateid'));
  8. die('OK:SMSZILLA');
  9. } else {
  10. die('ERROR:NO_FILTER_OR_TEMPLATE_ID');
  11. }
  12. } else {
  13. die('ERROR:SMSZILLA_DISABLED');
  14. }
  15. }