diff --git a/src/ConfigDiscoveryTrait.php b/src/ConfigDiscoveryTrait.php index e96b4f2..4db601a 100644 --- a/src/ConfigDiscoveryTrait.php +++ b/src/ConfigDiscoveryTrait.php @@ -116,7 +116,7 @@ private function getApplicationConfig() return $this->applicationConfig; } - $configFile = isset($this->projectDir) + $configFile = !empty($this->projectDir) ? sprintf('%s/%s', $this->projectDir, $this->applicationConfigPath) : $this->applicationConfigPath;