1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

fixes #3337 usage of old v1 table names

new route /forum/?new to display new posts
This commit is contained in:
Achim Ennenbach
2018-08-08 20:27:04 +02:00
parent 604cda1f83
commit a3dae1ecfd
2 changed files with 21 additions and 3 deletions

View File

@@ -50,6 +50,12 @@ class forum_url // plugin-folder + '_url'
'legacy' => '{e_PLUGIN}forum/forum.php?f=mfar&id={forum_id}'
);
$config['new'] = array(
'regex' => '^forum/\?new?',
'sef' => 'forum/?new',
'redirect' => '{e_PLUGIN}forum/forum.php?new'
);
$config['post'] = array(
'regex' => '^forum/post/?',
'sef' => 'forum/post/',