|
@@ -45,7 +45,7 @@ |
|
|
block discarded – undo |
|
45
|
45
|
$this->file = AppUtil\Path::toAbsolutePath($path, Configuration::getWorkingDirectory()); |
|
46
|
46
|
|
|
47
|
47
|
// dotenv version 4 and higher |
|
48
|
|
- if (method_exists('Dotenv\\Dotenv','createImmutable')) { |
|
|
48
|
+ if (method_exists('Dotenv\\Dotenv', 'createImmutable')) { |
|
49
|
49
|
$this->dotenv = DotenvLib::createImmutable(dirname($this->file), basename($this->file)); |
|
50
|
50
|
} else { |
|
51
|
51
|
$this->dotenv = DotenvLib::create(dirname($this->file), basename($this->file)); |
Please login to merge, or discard this patch.