Fix #1563 : Set default CLI environment to prod

This commit is contained in:
Romain Neutron
2013-11-13 17:12:51 +01:00
parent 694aecf752
commit ccfe58b3fb

View File

@@ -34,7 +34,7 @@ class CLI extends Application
* @param string|null $version Version number for this application.
* @param string|null $environment The environment.
*/
public function __construct($name, $version = null, $environment = null)
public function __construct($name, $version = null, $environment = self::ENV_PROD)
{
parent::__construct($environment);