Initial commit
This commit is contained in:
14
content/lib/exe/manifest.php
Normal file
14
content/lib/exe/manifest.php
Normal file
@@ -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();
|
Reference in New Issue
Block a user