Use the env function rather than getenv

This commit is contained in:
James Brooks
2015-05-20 10:39:31 +01:00
parent bf8b722e7b
commit 8840bca990
2 changed files with 2 additions and 2 deletions

View File

@@ -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));
}
}