Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CLI console default environment #2236
I use ForkCms on production server and I wonder why is in console default environment set to dev:
$env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev');
In the commnad list there is writen that default shoud be prod:
-e, --env=ENV The Environment name. [default: "prod"]
Could you please check it and update the code.
Thank you! Love this app very much.
Steps to reproduce
Unset te env variable and run the console command.
Expected behavior / Proposed solutions
Default environment should be PROD.