Mercurial > SimpleWebPresenter
view sitemap.php @ 97:ba11b1c1b881
Add baseUrl to activeNav filter.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 18 Oct 2012 22:39:21 +0200 |
| parents | 8a9bfbe220ca |
| children | 41c128ba0c2c |
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(basePath() . "/master.xml"); $sitemap->display(); } catch (Exception $e) { errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR); } /// @endcond ?>
