Skip to content

Commit

Permalink
the call from saferpay can contain $_POST data too
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Sep 15, 2013
1 parent 3e43f3e commit 0497f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ function requestUrl()

function getParam($key, $default = null)
{
return array_key_exists($key, $_GET) ? $_GET[$key] : $default;
return array_key_exists($key, $_REQUEST) ? $_REQUEST[$key] : $default;
}
```
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ function requestUrl()

function getParam($key, $default = null)
{
return array_key_exists($key, $_GET) ? $_GET[$key] : $default;
return array_key_exists($key, $_REQUEST) ? $_REQUEST[$key] : $default;
}

0 comments on commit 0497f49

Please sign in to comment.