Closed leevigraham closed 4 years ago
Ooh nice, didn’t realize that was possible.
This change broke the autosuggest inputs in the control panel, which are populated with all the $_ENV
values. So have reverted it.
Looping over get_env() could be an option… I'll have a play with my 3.5 beta install.
This PR only sets
.env
variables usingputenv()
and does not set them on$_SERVER
which could be considered a security issue if $_SERVER vars were leaked in logs etc.