view sitemap.php @ 74:1d5166aba2c5

Documentation fixes. codeFromHeader now throws an exception if the header is malformed.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Fri, 12 Oct 2012 01:16:30 +0200
parents 947d53f95ccd
children 4acaab0b02e2
line wrap: on
line source

<?
/**
 * @file
 * Generates a sitemap
 */

include_once 'ScriptIncludeCache.inc';

/// @cond
$baseDir = dirname(__FILE__);
$cache = ScriptIncludeCache::instance(__FILE__);
$cache->includeOnce('Sitemap.inc', dirname(__FILE__));

$sitemap = new Sitemap("master.xml");
$sitemap->genPage();
/// @endcond
?>