diff options
author | Evan Prodromou <evan@status.net> | 2010-04-12 12:06:08 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-06-01 13:52:27 -0700 |
commit | 5ff9c0242b2ad1df22af5630a7ebfdcce8177212 (patch) | |
tree | a020e9ff00dfa9d7b3aa4a4ecaa5514b6ad504f3 /plugins/Sitemap | |
parent | 3e8172585d7146cacb44ee4543ea619f6a196561 (diff) |
make sure notice and user sitemap are 'in' top level directory
Diffstat (limited to 'plugins/Sitemap')
-rw-r--r-- | plugins/Sitemap/SitemapPlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Sitemap/SitemapPlugin.php b/plugins/Sitemap/SitemapPlugin.php index 29c32a624..ed876d94f 100644 --- a/plugins/Sitemap/SitemapPlugin.php +++ b/plugins/Sitemap/SitemapPlugin.php @@ -89,14 +89,14 @@ class SitemapPlugin extends Plugin $m->connect('sitemapindex.xml', array('action' => 'sitemapindex')); - $m->connect('/sitemaps/notice/: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('/sitemaps/user/: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]', |