watchdog.php 288 B

1234567891011121314
  1. <?php
  2. /*
  3. * Watchdog tasks processing
  4. */
  5. if ($_GET['action'] == 'watchdog') {
  6. if ($alterconf['WATCHDOG_ENABLED']) {
  7. $runWatchDog = new WatchDog();
  8. $runWatchDog->processTask();
  9. die('OK:WATCHDOG');
  10. } else {
  11. die('ERROR:NO_WATCHDOG_ENABLED');
  12. }
  13. }