You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Select development through config.dev.ini in new applications #747
WebEngine currently sets production=false in config.default.ini. Remove this inherited flag and ship new applications with config.dev.ini instead, so development is selected explicitly by the application’s environment file.
This supports the mutually exclusive environment files proposed in phpgt/Config#225.
Config will default to production when no development file is present. Only one environment file may exist, including aliases: dev/development, stag/staging or prod/production. Conflicting files must cause an exception rather than be merged. Staging retains production behaviour: isProduction() is true unless the environment is development, with isStaging() identifying staging separately.
Update application generation/templates and the documentation accordingly. New applications should start in development through config.dev.ini, without inheriting production=false from framework defaults. Document that deployment must remove the development file before supplying a production or staging file, and that development configuration containing secrets should not be committed.
Keep this separate from broader deployment safeguards, which can be discussed later.
Activity