Mercurial > SimpleWebPresenter
view sitemap.php @ 114:f498ea087d67
Revert wrong xml closing tag.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 16 Mar 2016 13:02:06 +0100 |
| parents | 41c128ba0c2c |
| children | 6766250a0baa |
line wrap: on
line source
<?php /** * @file * Generates a sitemap */ include_once 'constants.inc'; include_once 'ScriptIncludeCache.inc'; /// @cond $baseDir = dirname(__FILE__); $cache = ScriptIncludeCache::instance(__FILE__); $cache->includeOnce('Sitemap.inc', dirname(__FILE__)); try { $sitemap = new Sitemap(basePath() . "/master.xml"); $sitemap->display(); } catch (Exception $e) { errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR); } /// @endcond ?>
