Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Allow passing constant values and environment variables #25

Open
weierophinney opened this issue Jun 18, 2014 · 1 comment
Open

Allow passing constant values and environment variables #25

weierophinney opened this issue Jun 18, 2014 · 1 comment

Comments

@weierophinney
Copy link
Member

Some applications have configuration requirements that include constants and/or environment variables. It could be useful to allow passing values via CLI parameters so that these can be properly expanded during processing of the application for packaging.

As an example, GotCMS defines several constants that are then used in config/application.config.php; this would allow providing substitutions for them. (Currently, due to the fact that we include that file without first defining the constants, warnings are raised, and the config file in the package is malformed.)

The filters in zfcampus/zf-console#8 would be useful here, particularly QueryString and/or Json.

@weierophinney
Copy link
Member Author

Ping @sophpie -- this is the other part of your report. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant