description = get_input('sitedescription'); $site->name = strip_tags(get_input('sitename')); $site->email = get_input('siteemail'); $site->save(); set_config('language', get_input('language'), $site->guid); $default_limit = (int)get_input('default_limit'); if ($default_limit < 1) { register_error(elgg_echo('admin:configuration:default_limit')); forward(REFERER); } set_config('default_limit', $default_limit, $site->guid); system_message(elgg_echo('admin:configuration:success')); forward(REFERER);