- 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/branches/branch-1_7@2052 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-07-06 01:04:50 +00:00
parent 3d6fc7d9ea
commit c281046fca
2 changed files with 15 additions and 4 deletions
+1 -2
View File
@@ -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."