@@ -132,8 +132,7 @@ |
||
| 132 | 132 | $headers = []; |
| 133 | 133 | if (function_exists('apache_request_headers')) { |
| 134 | 134 | $headers = apache_request_headers(); |
| 135 | - } |
|
| 136 | - else { |
|
| 135 | + } else { |
|
| 137 | 136 | foreach ($_SERVER as $name => $value) { |
| 138 | 137 | if (substr($name, 0, 5) == 'HTTP_') { |
| 139 | 138 | $headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value; |