Skip to content
This repository was archived by the owner on Jan 23, 2019. It is now read-only.

Commit 445182c

Browse files
committed
some up
1 parent f49c6e3 commit 445182c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/PhpDotEnv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(string $fileDir, string $fileName = '.env')
4545
{
4646
$file = $fileDir . DIRECTORY_SEPARATOR . ($fileName ?: '.env');
4747

48-
if ($file && is_file($file) && is_readable($file)) {
48+
if (is_file($file) && is_readable($file)) {
4949
$this->load(parse_ini_file($file));
5050
}
5151
}

0 commit comments

Comments
 (0)