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
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment