Skip to content

Commit

Permalink
Log URI instead of Path when Blizzard visits
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Jul 29, 2016
1 parent a59f6dd commit cc81b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function route(Pair &$redirect = null) {
($user_session ? $user_session->user_id : null),
getenv("REMOTE_ADDR"),
json_encode([
"path" => $this->getRequestPathString(true),
"uri" => $this->getRequestURI(),
"referer" => $this->getRequestHeader("Referer"),
"user_agent" => $this->getRequestHeader("User-Agent"),
])
Expand Down

0 comments on commit cc81b03

Please sign in to comment.