diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-09-08 21:24:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-09-08 21:24:30 +0000 |
commit | c2746a949ee34bd9a93f21d1ca808a918fe7ae52 (patch) | |
tree | 3dccb19a3467acc0e900e979e66257a66392a3e0 /install.php | |
parent | a1d73f1342b6d65dd0e26d5c85b01a60411c5be9 (diff) | |
download | brdo-c2746a949ee34bd9a93f21d1ca808a918fe7ae52.tar.gz brdo-c2746a949ee34bd9a93f21d1ca808a918fe7ae52.tar.bz2 |
- Patch #208793 by kbahey, Damien Tournoud: stop hardcoding the HTTP protocol version where possible.
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php index 0ff2573bb..35d34d8f3 100644 --- a/install.php +++ b/install.php @@ -24,7 +24,7 @@ function install_main() { // running tests. However, for security reasons, it is imperative that no // installation be permitted using such a prefix. if (preg_match("/^simpletest\d+$/", $_SERVER['HTTP_USER_AGENT'])) { - header('HTTP/1.1 403 Forbidden'); + header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); exit; } |