Skip to content
Snippets Groups Projects
Unverified Commit ac6ceee3 authored by Michael Große's avatar Michael Große
Browse files

fix(manifest): check if manifest action enabled before sending

parent c9071834
No related branches found
No related tags found
No related merge requests found
......@@ -5,5 +5,10 @@ if (!defined('DOKU_INC')) {
}
require_once(DOKU_INC . 'inc/init.php');
if (!actionOK('manifest')) {
http_status(404, 'Manifest has been disabled in DokuWiki configuration.');
return;
}
$manifest = new \dokuwiki\Manifest();
$manifest->sendManifest();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment