2020-03-11 04:04:22 +09:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
|
2020-03-16 06:21:11 +09:00
|
|
|
require dirname(__DIR__) . '/vendor/autoload.php';
|
2020-03-11 04:04:22 +09:00
|
|
|
|
2020-03-16 06:21:11 +09: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-11 04:04:22 +09:00
|
|
|
}
|