function install_settings_form_submit
7.x install.core.inc | install_settings_form_submit($form, &$form_state) |
6.x install.php | install_settings_form_submit($form, &$form_state) |
Form API submit for install_settings form.
File
- drupal-6.x/
install.php, line 412
Code
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" : ''));
}