make-manual2-index.php 417 B

12345678910111213
  1. <?php
  2. if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] !== '') {
  3. die("This script may be run from cmdline only\r\n");
  4. }
  5. require_once 'PhpGtkDoc/Search2/Index.php';
  6. $strDocDir = dirname(__FILE__) . '/../manual/en/';
  7. $strIndexFile = dirname(__FILE__) . '/PhpGtkDoc/index.search';
  8. echo "Generating manual2 search index\r\n";
  9. PhpGtkDoc_Search2_Index::createIndex($strDocDir, $strIndexFile);
  10. ?>