aswi2020sebela-gitlab/website/tests/bootstrap.php @ 1752e732
1 | ea92a5e5 | vastja | <?php
|
---|---|---|---|
2 | |||
3 | use Symfony\Component\Dotenv\Dotenv; |
||
4 | |||
5 | require dirname(__DIR__).'/vendor/autoload.php'; |
||
6 | |||
7 | if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) { |
||
8 | require dirname(__DIR__).'/config/bootstrap.php'; |
||
9 | } elseif (method_exists(Dotenv::class, 'bootEnv')) { |
||
10 | (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); |
||
11 | }
|