summaryrefslogtreecommitdiff
path: root/platform/www/inc/Action/Check.php
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/inc/Action/Check.php')
-rw-r--r--platform/www/inc/Action/Check.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/platform/www/inc/Action/Check.php b/platform/www/inc/Action/Check.php
new file mode 100644
index 0000000..36ae8e8
--- /dev/null
+++ b/platform/www/inc/Action/Check.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace dokuwiki\Action;
+
+use dokuwiki\Action\Exception\ActionAbort;
+
+/**
+ * Class Check
+ *
+ * Adds some debugging info before aborting to show
+ *
+ * @package dokuwiki\Action
+ */
+class Check extends AbstractAction {
+
+ /** @inheritdoc */
+ public function minimumPermission() {
+ return AUTH_READ;
+ }
+
+ public function preProcess() {
+ check();
+ throw new ActionAbort();
+ }
+
+}