Created
May 12, 2016 03:47
-
-
Save heddn/c8c1f423715fc78880773925d997d630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Form/SiteConfigureForm.php b/src/Form/SiteConfigureForm.php | |
index 9eb6fe2..ca3589b 100644 | |
--- a/src/Form/SiteConfigureForm.php | |
+++ b/src/Form/SiteConfigureForm.php | |
@@ -111,17 +111,17 @@ class SiteConfigureForm extends FormBase { | |
// distract from the message that the Drupal installation has completed | |
// successfully. | |
$post_params = $this->getRequest()->request->all(); | |
if (empty($post_params)) { | |
$original_profile_name = _config_installer_get_original_install_profile(); | |
- if ($original_profile_name) { | |
+ /*if ($original_profile_name) { | |
$settings['settings']['install_profile'] = (object) [ | |
'value' => $original_profile_name, | |
'required' => TRUE, | |
]; | |
drupal_rewrite_settings($settings); | |
- } | |
+ }*/ | |
if (!drupal_verify_install_file($this->root . '/' . $settings_file, FILE_EXIST | FILE_READABLE | FILE_NOT_WRITABLE) || !drupal_verify_install_file($this->root . '/' . $this->sitePath, FILE_NOT_WRITABLE, 'dir')) { | |
drupal_set_message(t('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the <a href="@handbook_url">online handbook</a>.', [ | |
'%dir' => $this->sitePath, | |
'%file' => $settings_file, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment