Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
172
Reporter ?
Andrew Petersen
Bugdar / 1.2.3
Status ?
Unconfirmed
Severity ?
Moderate
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
warning displayed when safemode is enabled
Report Time ?
May 29, 2009 04:12 AM
Assignment ?
Resolution ?
Open
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Attachments
Picture 1.png Screenshot of warning message
Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

May 29, 2009 04:12 AM Andrew Petersen
With safemode enabled on my server, I get warnings about safemode and two environment variables: LANG and LANGUAGE as not being allowed to be modified. With safe mode enabled, only environment variables that are prefixed with PHP_ are allowed to be modified.

For now, I've commented out lines 156 and 157 of includes/init.php, and the warnings have gone away... as we're only using English, hopefully it won't be too troublesome.