Avoid warning
This commit is contained in:
parent
cd524c8da8
commit
177f290e56
|
@ -3,8 +3,10 @@ require __DIR__ . "/vendor/autoload.php";
|
|||
|
||||
$dotenv = new josegonzalez\Dotenv\Loader(__DIR__ . '/.env');
|
||||
$dotenv->raiseExceptions(false);
|
||||
$dotenv->parse();
|
||||
$dotenv->toEnv();
|
||||
$result = $dotenv->parse();
|
||||
if ($result !== false) {
|
||||
$dotenv->toEnv();
|
||||
}
|
||||
|
||||
// ROUTER
|
||||
$router = new Bramus\Router\Router();
|
||||
|
|
Loading…
Reference in a new issue