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

use dokuwiki\Manifest;

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 Manifest();
$manifest->sendManifest();