aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_core.inc.php
diff options
context:
space:
mode:
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."