futtern/tests/bootstrap.php
lubiana 7663f684a4
All checks were successful
/ ls (pull_request) Successful in 29s
/ ls (push) Successful in 29s
lint
2024-06-10 20:23:36 +02:00

13 lines
276 B
PHP

<?php declare(strict_types=1);
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__) . '/vendor/autoload.php';
if (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv)->bootEnv(dirname(__DIR__) . '/.env');
}
if ($_SERVER['APP_DEBUG']) {
umask(0o000);
}