From 364238c585cb3c2f64b99a385c577f174cdf1f39 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 9 Jan 2010 17:13:49 +0000 Subject: - Patch #679890 by Bojhan, chx: no more pleasing. --- update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index 2ea827ea0..010e90195 100644 --- a/update.php +++ b/update.php @@ -203,7 +203,7 @@ function update_access_denied_page() { drupal_add_http_header('403 Forbidden'); watchdog('access denied', 'update.php', NULL, WATCHDOG_WARNING); drupal_set_title('Access denied'); - return '

Access denied. You are not authorized to access this page. Please log in using either an account with the administer software updates permission or the site maintenance account (the account you created during installation). If you cannot log in, you will have to edit settings.php to bypass this access check. To do this:

+ return '

Access denied. You are not authorized to access this page. Log in using either an account with the administer software updates permission or the site maintenance account (the account you created during installation). If you cannot log in, you will have to edit settings.php to bypass this access check. To do this:

  1. With a text editor find the settings.php file on your system. From the main Drupal directory that you installed all the files into, go to sites/your_site_name if such directory exists, or else to sites/default which applies otherwise.
  2. There is a line inside your settings.php file that says $update_free_access = FALSE;. Change it to $update_free_access = TRUE;.
  3. @@ -278,7 +278,7 @@ function update_check_requirements() { update_task_list('requirements'); drupal_set_title('Requirements problem'); $status_report = theme('status_report', array('requirements' => $requirements)); - $status_report .= 'Please check the error messages and try again.'; + $status_report .= 'Check the error messages and try again.'; print theme('update_page', array('content' => $status_report)); exit(); } -- cgit v1.2.3