[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

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