aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_core.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-07-07 02:10:11 +0000
committerrvelices <rv-github@modusoptimus.com>2007-07-07 02:10:11 +0000
commitc9465002447bd13fcd18f952d3530435c938c764 (patch)
tree61c042cbc33d462287d981d473a2cb80903f4c60 /include/ws_core.inc.php
parent1463bf22952dcd83f4209756a4a409d1b5d3e8be (diff)
merge r2052 from branch-1_7 to trunk
- fix set_status_header for fastCGI installations that are strict in terms of http protocol (1.0 or 1.1) git-svn-id: http://piwigo.org/svn/trunk@2053 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/ws_core.inc.php')
-rw-r--r--include/ws_core.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php
index 915e7e147..bc8d7f468 100644
--- a/include/ws_core.inc.php
+++ b/include/ws_core.inc.php
@@ -380,8 +380,7 @@ class PwgServer
{
if ( is_null($this->_responseEncoder) )
{
- @header("HTTP/1.1 500 Server error");
- @header("Status: 500 Server error");
+ set_status_header(500);
@header("Content-Type: text/plain");
echo ("Cannot process your request. Unknown response format.
Request format: ".@$this->_requestFormat." handler:".$this->_requestHandler."