Mercurial > SimpleWebPresenter
view sitemap.php @ 91:1d4c980f4255
Change the way headers are set.
Disabled validation for non-html pages.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 18 Oct 2012 00:28:48 +0200 |
| parents | b9654b9c4a66 |
| children | 8a9bfbe220ca |
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__)); try { $sitemap = new Sitemap("master.xml"); $sitemap->display(); } catch (Exception $e) { errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR); } /// @endcond ?>
