function install_verify_settings
Verifies the existing settings in settings.php.
1 call to install_verify_settings()
- install_begin_request in includes/
install.core.inc - Begins an installation request, modifying the installation state as needed.
File
-
includes/
install.core.inc, line 849
Code
function install_verify_settings() {
global $databases;
// Verify existing settings (if any).
if (!empty($databases) && install_verify_pdo()) {
$database = $databases['default']['default'];
drupal_static_reset('conf_path');
$settings_file = './' . conf_path(FALSE) . '/settings.php';
$errors = install_database_errors($database, $settings_file);
if (empty($errors)) {
return TRUE;
}
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.