From ccfe58b3fb0a24346a3e714ecd91179c4fa0460e Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Wed, 13 Nov 2013 17:12:51 +0100 Subject: [PATCH] Fix #1563 : Set default CLI environment to `prod` --- lib/Alchemy/Phrasea/CLI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/CLI.php b/lib/Alchemy/Phrasea/CLI.php index 1b60f44805..ac81fe6bd4 100644 --- a/lib/Alchemy/Phrasea/CLI.php +++ b/lib/Alchemy/Phrasea/CLI.php @@ -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);