summaryrefslogtreecommitdiff
path: root/platform/www/lib/exe/manifest.php
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/lib/exe/manifest.php')
-rw-r--r--platform/www/lib/exe/manifest.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/www/lib/exe/manifest.php b/platform/www/lib/exe/manifest.php
new file mode 100644
index 0000000..e9a3528
--- /dev/null
+++ b/platform/www/lib/exe/manifest.php
@@ -0,0 +1,14 @@
+<?php
+
+if (!defined('DOKU_INC')) {
+ define('DOKU_INC', __DIR__ . '/../../');
+}
+require_once(DOKU_INC . 'inc/init.php');
+
+if (!actionOK('manifest')) {
+ http_status(404, 'Manifest has been disabled in DokuWiki configuration.');
+ exit();
+}
+
+$manifest = new \dokuwiki\Manifest();
+$manifest->sendManifest();