aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/exe/manifest.php
blob: 687c1937cc23759c821a8a072ae7cd330e1475aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

if (!defined('DOKU_INC')) {
    define('DOKU_INC', __DIR__ . '/../../');
}
if(!defined('NOSESSION')) define('NOSESSION',true); // no session or auth required here
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();