mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
12 lines
328 B
PHP
12 lines
328 B
PHP
<?php
|
|
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
require dirname(__DIR__).'/vendor/autoload.php';
|
|
|
|
if (file_exists(dirname(__DIR__).'/app/config/bootstrap.php')) {
|
|
require dirname(__DIR__).'/app/config/bootstrap.php';
|
|
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
|
|
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
|
}
|