Hello again.
Now I've run into a problem I've never seen before. If I go to https://localhost?test=test and in my ControllerBase::initialize()-method and run:
var_dump($_GET);
I get:
array(1) {
'test' =>
string(4) "test"
}
But if I go to: https://localhost/user/loginWithFacebookCode?test=test and run the same code, I get:
array(1) {
'_url' =>
string(27) "/user/loginWithFacebookCode"
}
It seems that the $_GET-variables can only be picked up on the start page... If a route is executed, they're no longer available.
I've searched everywhere; Apache, PHP, Phalcon, never seen this anywhere. Any ideas as of why my $_GET["test"] doesn't exist?
Additional info:
- I use the ACL from the Phalcon "Invo" example project where I've tried placing the methods / controller in both public and user visibilities (and made sure to empty the persistant variable).
- OS: OSX Mountain Lion
- Server: Apache2
- Engine: PHP 5.4.11
Anyone know where to look?
Thanks!
// dimhoLt