summaryrefslogtreecommitdiff
path: root/platform/www/inc/Action/Show.php
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/inc/Action/Show.php')
-rw-r--r--platform/www/inc/Action/Show.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/platform/www/inc/Action/Show.php b/platform/www/inc/Action/Show.php
new file mode 100644
index 0000000..a5cb534
--- /dev/null
+++ b/platform/www/inc/Action/Show.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Created by IntelliJ IDEA.
+ * User: andi
+ * Date: 2/10/17
+ * Time: 4:32 PM
+ */
+
+namespace dokuwiki\Action;
+
+/**
+ * Class Show
+ *
+ * The default action of showing a page
+ *
+ * @package dokuwiki\Action
+ */
+class Show extends AbstractAction {
+
+ /** @inheritdoc */
+ public function minimumPermission() {
+ return AUTH_READ;
+ }
+
+ /** @inheritdoc */
+ public function preProcess() {
+ global $ID;
+ unlock($ID);
+ }
+
+ /** @inheritdoc */
+ public function tplContent() {
+ html_show();
+ }
+
+}