Mercurial > SimpleWebPresenter
view sitemap.php @ 105:b6381903122e
Prevent entity encoding of javascript
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Mon, 07 Mar 2016 17:11:43 +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 ?>
