function install_verify_settings
install_verify_settings()
Verifies the existing settings in settings.php.
File
- includes/install.core.inc, line 849
- API functions for installing Drupal.
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!install.core.inc/function/install_verify_settings/7.x