- #48215: Fix update.php links at the end
parent
24a598a912
commit
524fed30e8
|
@ -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>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue