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