callmeback.php 469 B

1234567891011121314151617
  1. <?php
  2. //parsing and storing FDB cache data into database
  3. if (ubRouting::get('action') == 'callmeback') {
  4. if ($alterconf['CALLMEBACK_ENABLED']) {
  5. if (ubRouting::checkGet('param')) {
  6. $callmeback = new CallMeBack();
  7. $callmeback->createCall(ubRouting::get('param'), 'int');
  8. die('OK:CALLMEBACK');
  9. } else {
  10. die('ERROR:EMPTY_PARAM');
  11. }
  12. } else {
  13. die('ERROR:CALLMEBACK_DISABLED');
  14. }
  15. }