function deleteGroup() { $group_id = params::get('group_id'); $array = ini::parse(SYS_ROOT . 'conf/admin/groups.ini'); ini::delete($group_id); ini::write(); }
function delete($conf_name, $section) { ini::parse(SYS_ROOT . 'conf/web/' . $conf_name . '.ini'); ini::delete($section); ini::write(); }