Skip to content

Commit 2cad050

Browse files
committed
Fix another call to getenv().
1 parent d25b56b commit 2cad050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Environment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static function getEnvironmentClass()
4444
{
4545
static $class;
4646
if (!isset($class)) {
47-
if ($class = static::get('DRUPAL_ENVIRONMENT_CLASS')) {
47+
if ($class = getenv('DRUPAL_ENVIRONMENT_CLASS')) {
4848
// Do nothing. The class was assigned in the if.
4949
}
5050
else {

0 commit comments

Comments
 (0)