function install_settings_form_submit
Same name and namespace in other branches
- 7.x drupal-7.x/includes/install.core.inc \install_settings_form_submit()
Form API submit for install_settings form.
Archivo
- drupal-6.x/
install.php, line 412
Código
function install_settings_form_submit($form, &$form_state) {
global $profile, $install_locale;
// Update global settings array and save
$settings['db_url'] = array(
'value' => $form_state['values']['_db_url'],
'required' => TRUE,
);
$settings['db_prefix'] = array(
'value' => $form_state['values']['db_prefix'],
'required' => TRUE,
);
drupal_rewrite_settings($settings);
// Continue to install profile step
install_goto("install.php?profile=$profile" . ($install_locale ? "&locale=$install_locale" : ''));
}