manifest.php 400 B

123456789101112131415
  1. <?php
  2. if (!defined('DOKU_INC')) {
  3. define('DOKU_INC', __DIR__ . '/../../');
  4. }
  5. if(!defined('NOSESSION')) define('NOSESSION',true); // no session or auth required here
  6. require_once(DOKU_INC . 'inc/init.php');
  7. if (!actionOK('manifest')) {
  8. http_status(404, 'Manifest has been disabled in DokuWiki configuration.');
  9. exit();
  10. }
  11. $manifest = new \dokuwiki\Manifest();
  12. $manifest->sendManifest();