Skip to content

Commit

Permalink
checked against wrong header name
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartmut Holzgraefe committed Apr 9, 2007
1 parent ddfe051 commit a7da676
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Server/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ function ServeRequest($base = false)
// special treatment for litmus compliance test
// reply on its identifier header
// not needed for the test itself but eases debugging
if (isset($this->_SERVER['HTTP_LITMUS'])) {
error_log("Litmus test ".$this->_SERVER['HTTP_LITMUS']);
header("X-Litmus-reply: ".$this->_SERVER['HTTP_LITMUS']);
if (isset($this->_SERVER['HTTP_X_LITMUS'])) {
error_log("Litmus test ".$this->_SERVER['HTTP_X_LITMUS']);
header("X-Litmus-reply: ".$this->_SERVER['HTTP_X_LITMUS']);
}

// set root directory, defaults to webserver document root if not set
Expand Down

0 comments on commit a7da676

Please sign in to comment.