From: Evan Prodromou Date: Sun, 18 Sep 2011 16:14:43 +0000 (-0400) Subject: Correct the routes for notice and user sitemaps X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d4ea0a71f71c9573f4789cdebedbdbae3732413;p=quix0rs-gnu-social.git Correct the routes for notice and user sitemaps --- diff --git a/plugins/Sitemap/SitemapPlugin.php b/plugins/Sitemap/SitemapPlugin.php index e7711fb339..29b822acd5 100644 --- a/plugins/Sitemap/SitemapPlugin.php +++ b/plugins/Sitemap/SitemapPlugin.php @@ -108,14 +108,14 @@ class SitemapPlugin extends Plugin $m->connect('sitemapindex.xml', array('action' => 'sitemapindex')); - $m->connect('/notice-sitemap-:year-:month-:day-:index.xml', + $m->connect('notice-sitemap-:year-:month-:day-:index.xml', array('action' => 'noticesitemap'), array('year' => '[0-9]{4}', 'month' => '[01][0-9]', 'day' => '[0123][0-9]', 'index' => '[1-9][0-9]*')); - $m->connect('/user-sitemap-:year-:month-:day-:index.xml', + $m->connect('user-sitemap-:year-:month-:day-:index.xml', array('action' => 'usersitemap'), array('year' => '[0-9]{4}', 'month' => '[01][0-9]',