make sure notice and user sitemap are 'in' top level directory

This commit is contained in:
Evan Prodromou 2010-04-12 12:06:08 -04:00
parent c6d9001db5
commit da8b231d2e

View File

@ -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]',