mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 03:42:18 +09:00
Fix #1216 restrict max level if max_input_vars is low
This commit is contained in:
parent
6213708216
commit
b158aeb9d5
4 changed files with 9 additions and 4 deletions
|
|
@ -47,6 +47,11 @@ class pointAdminView extends point
|
|||
}
|
||||
}
|
||||
Context::set('group_list', $selected_group_list);
|
||||
|
||||
// Get max level allowed by system
|
||||
$system_max_level = min(1000, ini_get('max_input_vars') - 100);
|
||||
Context::set('system_max_level', $system_max_level);
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('group_list..title','group_list..description');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue