PHP7 and new dotnet parser
This commit is contained in:
parent
9a662ffe1b
commit
33d5994159
9 changed files with 154 additions and 315 deletions
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
require __DIR__ . "/vendor/autoload.php";
|
||||
|
||||
// LOAD DOTENV
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
||||
$dotenv->safeLoad();
|
||||
$dotenv = new josegonzalez\Dotenv\Loader(__DIR__ . '/.env');
|
||||
$dotenv->parse();
|
||||
$dotenv->toEnv();
|
||||
|
||||
// ROUTER
|
||||
$router = new Bramus\Router\Router();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue