Files
symfony-flex-recipes/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php
T

9 lines
189 B
PHP

<?php
use Symfony\Component\Dotenv\Dotenv;
// The check is to ensure we don't use .env in production
if (!isset($_SERVER['APP_ENV'])) {
(new Dotenv())->load(__DIR__.'/../../.env');
}