2020-03-10 19:04:22 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
|
2020-03-15 21:21:11 +00:00
|
|
|
require dirname(__DIR__) . '/vendor/autoload.php';
|
2020-03-10 19:04:22 +00:00
|
|
|
|
2020-03-15 21:21:11 +00:00
|
|
|
if (\file_exists(\dirname(__DIR__) . '/config/bootstrap.php')) {
|
|
|
|
require dirname(__DIR__) . '/config/bootstrap.php';
|
|
|
|
} elseif (\method_exists(Dotenv::class, 'bootEnv')) {
|
|
|
|
(new Dotenv())->bootEnv(\dirname(__DIR__) . '/.env');
|
2020-03-10 19:04:22 +00:00
|
|
|
}
|