Created
June 10, 2019 14:13
-
-
Save hakuno/6e3531169a400a36cad73c3d489676f7 to your computer and use it in GitHub Desktop.
Lumen disables putenv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__.'/../vendor/autoload.php'; | |
// Look for | |
// https://github.com/laravel/lumen/pull/132 | |
// PoC | |
// Illuminate\Support\Env::disablePutenv(); | |
(new Laravel\Lumen\Bootstrap\LoadEnvironmentVariables( | |
dirname(__DIR__) | |
))->bootstrap(); | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment