Closed rozalia closed 9 years ago
The issue is due to inserting Core\Config()->ROUTER['separator'] even if the current mode has no prefix (e.g the default app).
Core\Config()->ROUTER['separator']
mode
app
Possible fix would be to amend the $mode['url'] before using it to format the URL:
$mode['url']
$mode['url'] = $mode['url'] ? $mode['url'] . Core\Config()->ROUTER['separator'] : '';
The issue is due to inserting
Core\Config()->ROUTER['separator']
even if the currentmode
has no prefix (e.g the defaultapp
).Possible fix would be to amend the
$mode['url']
before using it to format the URL: