Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
added env file reader
  • Loading branch information
itsalb3rt committed Jun 16, 2020
1 parent a0e93b1 commit cb6f3e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions system/webroot/FrontController.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@

new ErrorHandler(ENVIROMENT);

//Env file load

$dotenv = Dotenv\Dotenv::createImmutable(__ROOT__DIR__);
$dotenv->load();

//Load app
$dispatch = new Dispatcher();
$dispatch->dispatch();

0 comments on commit cb6f3e1

Please sign in to comment.