Check.php 418 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace dokuwiki\Action;
  3. use dokuwiki\Action\Exception\ActionAbort;
  4. /**
  5. * Class Check
  6. *
  7. * Adds some debugging info before aborting to show
  8. *
  9. * @package dokuwiki\Action
  10. */
  11. class Check extends AbstractAction {
  12. /** @inheritdoc */
  13. public function minimumPermission() {
  14. return AUTH_READ;
  15. }
  16. public function preProcess() {
  17. check();
  18. throw new ActionAbort();
  19. }
  20. }