Skip to content
Snippets Groups Projects
Commit 2983bfe2 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #1963760 by amitgoyal, fnuppy | valthebald: Fixed Make sure install.php...

Issue #1963760 by amitgoyal, fnuppy | valthebald: Fixed Make sure install.php gives accurate information if Drupal is already installed.
parent 1b34836c
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -25,13 +25,11 @@ public function __construct(TranslationInterface $string_translation) {
$title = $this->t('Drupal already installed');
$message = $this->t('<ul>
<li>To start over, you must empty your existing database, delete your active configuration, and copy <em>default.settings.php</em> over <em>settings.php</em>.</li>
<li>To install to a different database, edit the appropriate <em>settings.php</em> file in the <em>sites</em> folder.</li>
<li>To locate your active configuration, view the appropriate <em>settings.php</em> file in the <em>sites</em> folder.</li>
<li>To upgrade an existing installation, proceed to the <a href="@base-url/core/update.php">update script</a>.</li>
<li>View your <a href="@base-url">existing site</a>.</li>
<li>To start over, you must empty your existing database and copy <em>default.settings.php</em> over <em>settings.php</em>.</li>
<li>To upgrade an existing installation, proceed to the <a href="!base-url/core/update.php">update script</a>.</li>
<li>View your <a href="!base-url">existing site</a>.</li>
</ul>', array(
'@base-url' => $GLOBALS['base_url'],
'!base-url' => $GLOBALS['base_url'],
));
parent::__construct($message, $title);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment