注释
This commit is contained in:
parent
d685a6fdc2
commit
5e00ee463b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user