mtsigmonpoll.php 301 B

1234567891011121314
  1. <?php
  2. // Load MIKROTIK and UBNT Signal data
  3. if ($_GET['action'] == 'mtsigmonpoll') {
  4. if ($alterconf['MTSIGMON_ENABLED']) {
  5. $sigmon = new MTsigmon();
  6. $sigmon->MTDevicesPolling();
  7. die('OK:MTPOLL');
  8. } else {
  9. die('ERROR:MTSIGMON_DISABLED');
  10. }
  11. }