Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
moisadoru committed Nov 15, 2013
1 parent 34f51d9 commit 54928ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base_facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ protected function getUrl($name, $path='', $params=array()) {
protected function getHttpHost() {
if ($this->trustForwarded && isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
$forwardProxies = explode(',', $_SERVER['HTTP_X_FORWARDED_HOST']);
$forwardProxies = array_filter($forwarders);
$forwardProxies = array_filter($forwardProxies);
return current($forwardProxies);
}
return $_SERVER['HTTP_HOST'];
Expand Down

0 comments on commit 54928ba

Please sign in to comment.