mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 10:06:28 +03:00
Add the Behat recipe
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?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');
|
||||
}
|
||||
Reference in New Issue
Block a user