commit | author | age | ||
fd7692 | 1 | <?php |
FÁ | 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 | } |