mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 15:31:41 +02:00
Closes #5454 - sitemapindex support.
This commit is contained in:
@@ -42,6 +42,14 @@ class gsitemap_url // plugin-folder + '_url'
|
||||
|
||||
);
|
||||
|
||||
$config['sitemaps'] = array(
|
||||
'alias' => 'sitemaps',
|
||||
'regex' => '^{alias}\.xml$', // matched against url, and if true, redirected to 'redirect' below.
|
||||
'sef' => '{alias}.xml', // used by e107::url(); to create a url from the db table.
|
||||
'redirect' => '{e_BASE}gsitemap.php?index=1', // file-path of what to load when the regex returns true.
|
||||
|
||||
);
|
||||
|
||||
$addons = e107::getAddonConfig('e_gsitemap', 'gsitemap');
|
||||
|
||||
foreach($addons as $plug => $item)
|
||||
|
Reference in New Issue
Block a user