Mercurial > SimpleWebPresenter
diff sitemap.php @ 134:b6b4a58c7625
Using .inc.php rather than just .inc for include files.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Sun, 22 Jan 2023 19:22:00 +0100 |
| parents | 6766250a0baa |
| children |
line wrap: on
line diff
--- a/sitemap.php Sun Jan 22 19:15:55 2023 +0100 +++ b/sitemap.php Sun Jan 22 19:22:00 2023 +0100 @@ -3,14 +3,14 @@ * @file * Generates a sitemap */ -include_once 'constants.inc'; +include_once 'constants.inc.php'; -include_once 'ScriptIncludeCache.inc'; +include_once 'ScriptIncludeCache.inc.php'; /// @cond $baseDir = dirname(__FILE__); $cache = ScriptIncludeCache::instance(__FILE__); -$cache->includeOnce('Sitemap.inc', dirname(__FILE__)); +$cache->includeOnce('Sitemap.inc.php', dirname(__FILE__)); try { $base=basePath();
