summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/install.php b/install.php
index be479fa6f..73e166231 100644
--- a/install.php
+++ b/install.php
@@ -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);