Why SM does not try to use locales while php in
safe_mode?
I commented the safe_mode check and all works fine.
Of course I allowed setting LC_* LANG variables via
php.ini.
Should't You check if the var can be changed instead
checking for safe_mode only?
Logged In: YES
user_id=225877
Todo: write some parser that handles
safe_mode_allowed_env_vars and safe_mode_protected_env_vars.
Whole variables and wildcard matches.
Logged In: YES
user_id=996150
Why not just do putenv(and hide the safe_mode warnings)?
If it fails - nothing bad will happen? Or i'm wrong?