summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-02-08 00:32:18 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-02-08 00:32:18 +0000
commit524fed30e89ebef7e77f369bb6442f37efe36cd6 (patch)
treec7db33dfde38c366363bedc48de54a2ae89c27dc /update.php
parent24a598a91224a4c8a2bf5e6723cb12d24e4a3cbf (diff)
downloadbrdo-524fed30e89ebef7e77f369bb6442f37efe36cd6.tar.gz
brdo-524fed30e89ebef7e77f369bb6442f37efe36cd6.tar.bz2
- #48215: Fix update.php links at the end
Diffstat (limited to 'update.php')
-rw-r--r--update.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/update.php b/update.php
index d6c9be87b..7275b63e4 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>";
}