Fix #1643 don't use full short URL for admin pages

This commit is contained in:
Kijin Sung 2021-03-17 23:32:17 +09:00
parent 1db10e4ada
commit 2ffc19cca3

View file

@ -1702,6 +1702,12 @@ class Context
$get_vars['act'] = $act_alias[$act];
}
// Don't use full short URL for admin pages #1643
if (isset($get_vars['module']) && $get_vars['module'] === 'admin' && $rewrite_level > 1)
{
$rewrite_level = 1;
}
// organize URL
$query = '';
if(count($get_vars) > 0)