summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-12 12:39:18 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-12 12:39:18 +0000
commitff29c31ce5cba9f2775bf17d61823423c588d4fa (patch)
tree4ca3ae8f942a34d7065bf444e037371d1810be58 /install.php
parent06fbe8e90ce3272b4879dc967b95bd6937875dc8 (diff)
downloadbrdo-ff29c31ce5cba9f2775bf17d61823423c588d4fa.tar.gz
brdo-ff29c31ce5cba9f2775bf17d61823423c588d4fa.tar.bz2
- Patch #510782 by David_Rothstein, Jody Lynn: fixed broken links.
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/install.php b/install.php
index 48cc2126d..3f89b6661 100644
--- a/install.php
+++ b/install.php
@@ -1405,7 +1405,9 @@ function install_finished(&$install_state) {
$messages = drupal_set_message();
$output = '<p>' . st('Congratulations, @drupal has been successfully installed.', array('@drupal' => drupal_install_profile_name())) . '</p>';
$output .= '<p>' . (isset($messages['error']) ? st('Please review the messages above before continuing on to <a href="@url">your new site</a>.', array('@url' => url(''))) : st('You may now visit <a href="@url">your new site</a>.', array('@url' => url('')))) . '</p>';
- $output .= '<p>' . st('For more information on configuring Drupal, please refer to the <a href="@help">help section</a>.', array('@help' => url('admin/help'))) . '</p>';
+ if (module_exists('help')) {
+ $output .= '<p>' . st('For more information on configuring Drupal, please refer to the <a href="@help">help section</a>.', array('@help' => url('admin/help'))) . '</p>';
+ }
// Rebuild menu and registry to get content type links registered by the
// profile, and possibly any other menu items created through the tasks.