[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/exe/ -> manifest.php (source)

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