assets
bin
config
migrations
public
src
templates
tests
Unit
bootstrap.php
tools
translations
.env
.env.test
.eslintrc
.gitignore
.php-cs-fixer.cache
.php-cs-fixer.php
LICENSE
README.md
TODO
bootstrap.js
composer.json
composer.lock
controllers.json
docker-compose.override.yml
docker-compose.yml
package.json
phpunit.xml.dist
rector.php
symfony.lock
webpack.config.js
yarn.lock
12 lines
320 B
PHP
12 lines
320 B
PHP
<?php
|
|
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
require dirname(__DIR__).'/vendor/autoload.php';
|
|
|
|
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');
|
|
}
|