// Perform actual installation defined in the profile.
drupal_install_profile($profile,$modules);
// Warn about settings.php permissions risk
...
...
@@ -498,6 +503,18 @@ function install_already_done_error() {
exit;
}
/**
* Show an error page when Drupal is missing required modules.
*/
functioninstall_missing_modules_error($profile){
global$base_url;
drupal_maintenance_theme();
drupal_set_title(st('Modules missing'));
printtheme('install_page','<p>'.st('One or more required modules are missing. Please check the error messages and <a href="!url">try again</a>.',array('!url'=>"install.php?profile=$profile")).'</p>');
exit;
}
/**
* Page displayed when the installation is complete. Called from install.php.