CodeIgniter Forums
Superglobals reset - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: Superglobals reset (/thread-68127.html)



Superglobals reset - WitekS - 05-29-2017

After $ app-> run (); In index.php, all tables, for example $ _GET, $ _POST, $ _COOKIE, $ _REQUEST, $ _SERVER, etc are reset and the variable CI_ENV = 'development' disappears, and the page starts as Page rendered in 0.0033 seconds. Environment: production. Until the execution of $ app-> run (); Variables in Superglobals are OK


RE: Superglobals reset - kilishan - 05-29-2017

Please post bugs over at GitHub so I can remember to fix them. Smile


RE: Superglobals reset - WitekS - 05-30-2017

(05-29-2017, 08:42 PM)kilishan Wrote: Please post bugs over at GitHub so I can remember to fix them. Smile

I already know the bug on GitHub, but I wonder where you could set the develop mode, since the .htaccess in this case does not work?


RE: Superglobals reset - kilishan - 05-30-2017

Check out the docs for that.

I'll respond to the rest of the stuff over at GitHub but it sounds like an environment setup issue currently.