This commit is contained in:
Graham Campbell
2015-11-21 22:50:54 +00:00
parent 6f1d0ceda4
commit f5b6aa42b6
2 changed files with 3 additions and 5 deletions

View File

@@ -210,7 +210,7 @@ class SetupController extends Controller
if ($path === null || ($path !== null && file_exists($path))) {
$path = base_path('.env');
file_put_contents($path, str_replace(
getenv(strtoupper($key)), $value, file_get_contents($path)
env(strtoupper($key)), $value, file_get_contents($path)
));
}
}