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

#3521 - Tweaked forum e_url.php to prevent conflicts when using 'new' in SEF URL

This commit is contained in:
Tijn Kuyper
2019-02-09 16:10:43 +01:00
parent 6fde0f7dc7
commit 99074cab54

View File

@@ -51,7 +51,7 @@ class forum_url // plugin-folder + '_url'
); );
$config['new'] = array( $config['new'] = array(
'regex' => '^forum/new?', 'regex' => '^forum/new$/?',
'sef' => 'forum/new', 'sef' => 'forum/new',
'redirect' => '{e_PLUGIN}forum/forum.php?new' 'redirect' => '{e_PLUGIN}forum/forum.php?new'
); );