Hi
As suggested by other posters here, the code in init_sanitize that will unset certain $GLOBAL values was done for security reasons, and was meant to 'imitate' setting register_globals=off.
However register_globals was deprecated in php 5.3 and removed in php 5.4, so the benefit of the code in init_sanitize is moot.
If you are using php 5.4 and therefore sure that register_globals is no longer used, then you can safely remove the code.
In the short term and to make upgrading easier, you could use the overrides directory under the init_includes directory.
We will address this in v155.


Reply With Quote
