mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix #1643 don't use full short URL for admin pages
This commit is contained in:
parent
1db10e4ada
commit
2ffc19cca3
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue