reset.php 440 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * reset user action
  4. */
  5. if ($_GET['action'] == 'reset') {
  6. if (isset($_GET['param'])) {
  7. $billing->resetuser($_GET['param']);
  8. log_register("REMOTEAPI RESET User (" . $_GET['param'] . ")");
  9. //may be user ressurection required?
  10. if (@$alterconf['RESETHARD']) {
  11. zb_UserResurrect($_GET['param']);
  12. }
  13. die('OK:RESET');
  14. } else {
  15. die('ERROR:GET_NO_PARAM');
  16. }
  17. }