From 7e95e80c25e2f35b8a49ebd73f95671b0233be6f Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Wed, 17 Jul 2013 10:17:28 -0400 Subject: New theme: XML sitemap generator --- templates/themes/sitemap/theme.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 templates/themes/sitemap/theme.php (limited to 'templates/themes/sitemap/theme.php') diff --git a/templates/themes/sitemap/theme.php b/templates/themes/sitemap/theme.php new file mode 100644 index 00000000..372d292d --- /dev/null +++ b/templates/themes/sitemap/theme.php @@ -0,0 +1,28 @@ +fetchAll(PDO::FETCH_ASSOC); + } + + file_write($settings['path'], Element('themes/sitemap/sitemap.xml', Array( + 'settings' => $settings, + 'config' => $config, + 'threads' => $threads, + 'boards' => $boards, + ))); + } -- cgit v1.3