Skip to content
Snippets Groups Projects
Commit 2e989725 authored by Steven Wittens's avatar Steven Wittens
Browse files

#83229: Recover gracefully from old PHP versions in installer (best effort only)

parent 2e22d4bc
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -64,14 +64,15 @@ function install_main() {
// Load the profile.
require_once "./profiles/$profile/$profile.profile";
// Check the installation requirements for Drupal and this profile.
install_check_requirements($profile);
// Change the settings.php information if verification failed earlier.
// Note: will trigger a redirect if database credentials change.
if (!$verify) {
install_change_settings($profile, $install_locale);
}
// Check the installation requirements for Drupal and this profile.
install_check_requirements($profile);
// Perform actual installation defined in the profile.
$modules = drupal_verify_profile($profile, $install_locale);
drupal_install_profile($profile, $modules);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment