diff --git a/nntmux/config/Configure.php b/nntmux/config/Configure.php index 56b4919ea..1cee62cc1 100755 --- a/nntmux/config/Configure.php +++ b/nntmux/config/Configure.php @@ -37,13 +37,9 @@ class Configure ], ]; - public function __construct($environment = '') + public function __construct($environment = 'indexer') { - if (empty($environment)) { - $this->loadEnvironment('indexer'); - } else { - $this->loadEnvironment($environment); - } + $this->loadEnvironment($environment); } private function loadEnvironment($environment)