Skip to content

A way to store values in $_ENV but not $_SERVER #196

Closed
@benjaminkohl

Description

@benjaminkohl

It was brought to our attention that the $_SERVER super global's contents are dumped to the browser console when a particular CMS is in development mode. While we only do this on the dev site, we'd still like to keep our DB credentials out of the browser console.

Is there a way to make dotenv put/get from $_ENV entirely and not make any changes to $_SERVER?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions