oltpoll.php 270 B

1234567891011121314
  1. <?php
  2. /**
  3. * Polling PON OLT data
  4. */
  5. if (ubRouting::get('action') == 'oltpoll') {
  6. if ($alterconf['PON_ENABLED']) {
  7. $pony = new PONizer();
  8. $pony->oltDevicesPolling();
  9. die('OK:OLTPOLL');
  10. } else {
  11. die('ERROR:PON_DISABLED');
  12. }
  13. }