Пример #1
0
 if ($_GET['action'] == 'watchdog') {
     if ($alterconf['WATCHDOG_ENABLED']) {
         $runWatchDog = new WatchDog();
         $runWatchDog->processTask();
         die('OK:WATCHDOG');
     } else {
         die('ERROR:NO_WATCHDOG_ENABLED');
     }
 }
 /*
  * UKV charge fee processing
  */
 if ($_GET['action'] == 'ukvfeeprocessing') {
     if ($alterconf['UKV_ENABLED']) {
         $ukvApiRun = new UkvSystem();
         $ukvFee = $ukvApiRun->feeChargeAll();
         die('OK:UKVFEEPROCESSING:' . $ukvFee);
     } else {
         die('ERROR:NO_UKV_ENABLED');
     }
 }
 /**
  * Registry of banned sites processing
  */
 if ($_GET['action'] == 'rbs') {
     $object = new RosKomNadzor();
     $object->run();
     die(0);
 }
 /*
  * Switches coverage map