nineskeletor/tests/bootstrap.php
afornerot be78875030
Some checks failed
Cadoles/nineskeletor/pipeline/head Build started...
Cadoles/nineskeletor/pipeline/pr-master There was a failure building this commit
fixevalidator
2023-01-05 20:07:17 +01:00

12 lines
320 B
PHP
Executable File

<?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');
}