chill-skeleton-basic/tests/bootstrap.php

14 lines
248 B
PHP
Raw Normal View History

2022-07-11 17:27:00 +00:00
<?php
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
2024-02-14 08:57:09 +00:00
if (method_exists(Dotenv::class, 'bootEnv')) {
2022-07-11 17:27:00 +00:00
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}
if ($_SERVER['APP_DEBUG']) {
umask(0000);
}