This commit is contained in:
xl
2023-05-26 10:06:37 +08:00
parent 1f986439b2
commit 2ddfdc1db4
3 changed files with 15 additions and 6 deletions
+3 -3
View File
@@ -11,12 +11,12 @@ class ConfigProvider
/**
* @param array $config
*
*/
public function __construct(array $config)
public function __construct()
{
$this->hashMap = new HashMap();
$this->load($config);
$this->load(sweep(APP_PATH . '/config'));
$this->enableEnvConfig(APP_PATH . '.env');
}