diff options
Diffstat (limited to 'wiki/lib/exe/manifest.php')
-rw-r--r-- | wiki/lib/exe/manifest.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wiki/lib/exe/manifest.php b/wiki/lib/exe/manifest.php new file mode 100644 index 0000000..e9a3528 --- /dev/null +++ b/wiki/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(); |