This commit is contained in:
zyimm 2022-07-04 16:24:40 +08:00
parent d685a6fdc2
commit 5e00ee463b

View File

@ -17,7 +17,7 @@ class Config
public function get() public function get()
{ {
// Load env before config. // 加载env
if (file_exists(BASE_PATH . '/.env.' . $this->env)) { if (file_exists(BASE_PATH . '/.env.' . $this->env)) {
$repository = RepositoryBuilder::createWithNoAdapters() $repository = RepositoryBuilder::createWithNoAdapters()
->addReader(Adapter\PutenvAdapter::class) ->addReader(Adapter\PutenvAdapter::class)