karmaguard.php 234 B

12345678910
  1. <?php
  2. if (ubRouting::get('action') == 'karmaguard') {
  3. if ($alterconf['KARMA_CONTROL']) {
  4. $badKarma = new BadKarma();
  5. $badKarma->runMassReset(true);
  6. } else {
  7. die('ERROR:KARMA_CONTROL_DISABLED');
  8. }
  9. }