You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
424 B

  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. {
  13. /** @inheritdoc */
  14. public function minimumPermission()
  15. {
  16. return AUTH_READ;
  17. }
  18. public function preProcess()
  19. {
  20. check();
  21. throw new ActionAbort();
  22. }
  23. }