CsgoNumber / lightopenid

Automatically exported from code.google.com/p/lightopenid
0 stars 0 forks source link

Remove Dependency on _GET and _POST super globals #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Right now the library's data depends on these super globals. It would be nice 
if there was an option to provide the data instead of just relying on the super 
globals.

Original issue reported on code.google.com by mitmaro on 29 Mar 2011 at 2:06

GoogleCodeExporter commented 8 years ago
I have created a merge request on gitorious to fix this issue. See 
https://gitorious.org/lightopenid/lightopenid/merge_requests/5

Original comment by mitmaro on 29 Mar 2011 at 2:20

GoogleCodeExporter commented 8 years ago
I made $data public, so you can overwrite it if you need to.

However, since it's rather rare to use another data source and (as far as I 
know) superglobals are always arrays, I don't see a point in providing a method 
to bypass reading them at all.

Original comment by mewp...@gmail.com on 29 Mar 2011 at 6:04