From 524fed30e89ebef7e77f369bb6442f37efe36cd6 Mon Sep 17 00:00:00 2001 From: Steven Wittens <steven@10.no-reply.drupal.org> Date: Wed, 8 Feb 2006 00:32:18 +0000 Subject: [PATCH] - #48215: Fix update.php links at the end --- update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.php b/update.php index d6c9be87bd57..7275b63e43e1 100644 --- a/update.php +++ b/update.php @@ -466,9 +466,9 @@ function update_progress_page_nojs() { function update_finished_page() { drupal_set_title('Drupal database update'); // NOTE: we can't use l() here because the URL would point to 'update.php?q=admin'. - $links[] = '<a href="">main page</a>'; - $links[] = '<a href="?q=admin">administration pages</a>'; - $output = '<p>Updates were attempted. If you see no failures below, you may proceed happily to the <a href="?q=admin">administration pages</a>. Otherwise, you may need to update your database manually. All errors have been <a href="?q=admin/logs">logged</a>.</p>'; + $links[] = '<a href="'. base_path() .'">main page</a>'; + $links[] = '<a href="'. base_path() .'?q=admin">administration pages</a>'; + $output = '<p>Updates were attempted. If you see no failures below, you may proceed happily to the <a href="index.php?q=admin">administration pages</a>. Otherwise, you may need to update your database manually. All errors have been <a href="index.php?q=admin/logs">logged</a>.</p>'; if ($GLOBALS['access_check'] == FALSE) { $output .= "<p><strong>Reminder: don't forget to set the <code>\$access_check</code> value at the top of <code>update.php</code> back to <code>TRUE</code>.</strong>"; } -- GitLab