| 5 install.php | install_already_done_error() |
| 6 install.php | install_already_done_error() |
| 7 install.core.inc | install_already_done_error() |
| 8 install.core.inc | install_already_done_error() |
Show an error page when Drupal has already been installed.
2 calls to install_already_done_error()
File
- ./
install.php, line 625
Code
function install_already_done_error() {
global $base_url;
drupal_set_title(st('Drupal already installed'));
print theme('install_page', st('<ul><li>To start over, you must empty your existing database.</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 upgrade an existing installation, proceed to the <a href="@base-url/update.php">update script</a>.</li><li>View your <a href="@base-url">existing site</a>.</li></ul>', array('@base-url' => $base_url)));
exit;
}
Login or register to post comments