Use the env function rather than getenv
This commit is contained in:
@@ -63,7 +63,7 @@ class Repository
|
||||
|
||||
// fallback to getenv if allowed to
|
||||
if ($checkEnv) {
|
||||
return $this->settings[$name] = getenv(strtoupper($name));
|
||||
return $this->settings[$name] = env(strtoupper($name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user