mirror of
https://github.com/unraid/webgui.git
synced 2026-03-01 21:59:39 -06:00
Multi cache pool support
This commit is contained in:
@@ -14,10 +14,11 @@
|
||||
$keys = parse_ini_file($_POST['#cfg'], true);
|
||||
$cleanup = isset($_POST['#cleanup']);
|
||||
$text = "";
|
||||
|
||||
foreach ($_POST as $field => $value) {
|
||||
if ($field[0] == '#') continue;
|
||||
list($section,$key) = explode('_', $field, 2);
|
||||
$n = strrpos($field,'_');
|
||||
$section = substr($field,0,$n);
|
||||
$key = substr($field,$n+1);
|
||||
$keys[$section][$key] = $value;
|
||||
}
|
||||
foreach ($keys as $section => $block) {
|
||||
|
||||
Reference in New Issue
Block a user