summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-06 06:31:24 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-06 06:31:24 +0000
commite1ce11dad0bb6377ffddaa5fb0b7174e406ba20c (patch)
tree6cdf49084a28fba8c6910a7e000f6708888858a4 /update.php
parent140cacba103e3241d24d24c8c1d06c760280261b (diff)
downloadbrdo-e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c.tar.gz
brdo-e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c.tar.bz2
- Patch #732486 by Damien Tournoud, JacobSingh: drupal_add_http_header() req ; make Status a normal header and drupal_add_http() header shouldn't return a list of headers.
Diffstat (limited to 'update.php')
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 5c01ea92e..af43c7565 100644
--- a/update.php
+++ b/update.php
@@ -237,7 +237,7 @@ function update_info_page() {
}
function update_access_denied_page() {
- drupal_add_http_header('403 Forbidden');
+ drupal_add_http_header('Status', '403 Forbidden');
watchdog('access denied', 'update.php', NULL, WATCHDOG_WARNING);
drupal_set_title('Access denied');
return '<p>Access denied. You are not authorized to access this page. Log in using either an account with the <em>administer software updates</em> permission or the site maintenance account (the account you created during installation). If you cannot log in, you will have to edit <code>settings.php</code> to bypass this access check. To do this:</p>