dotenv implementation cont
This commit is contained in:
7
testenv.php
Normal file
7
testenv.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
||||
$dotenv->load();
|
||||
|
||||
echo "HOST: " . $_ENV['HOST'];
|
||||
Reference in New Issue
Block a user