Files
symfony-flex-recipes/behat/symfony2-extension/2.1/features/bootstrap/bootstrap.php
T
2017-06-05 19:14:00 +01:00

11 lines
227 B
PHP

<?php
use Symfony\Component\Dotenv\Dotenv;
require __DIR__.'/../../vendor/autoload.php';
// The check is to ensure we don't use .env in production
if (!getenv('APP_ENV')) {
(new Dotenv())->load(__DIR__.'/../../.env');
}