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 = new josegonzalez\Dotenv\Loader(__DIR__ . '/.env');
|
||||||
$dotenv->raiseExceptions(false);
|
$dotenv->raiseExceptions(false);
|
||||||
$dotenv->parse();
|
$result = $dotenv->parse();
|
||||||
|
if ($result !== false) {
|
||||||
$dotenv->toEnv();
|
$dotenv->toEnv();
|
||||||
|
}
|
||||||
|
|
||||||
// ROUTER
|
// ROUTER
|
||||||
$router = new Bramus\Router\Router();
|
$router = new Bramus\Router\Router();
|
||||||
|
|
Loading…
Reference in a new issue