summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-09-11 10:53:19 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-09-11 10:53:19 +0000
commit2e9897254d0f272be0f141191b2b93824cad84c8 (patch)
tree85f7b595b87fc8b79425f44090ec0f6f638c0bef /install.php
parent2e22d4bcee59731ae3fa5233864896e799007b1c (diff)
downloadbrdo-2e9897254d0f272be0f141191b2b93824cad84c8.tar.gz
brdo-2e9897254d0f272be0f141191b2b93824cad84c8.tar.bz2
#83229: Recover gracefully from old PHP versions in installer (best effort only)
Diffstat (limited to 'install.php')
-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);