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');
|
|
|
|
}
|
2023-09-06 10:19:04 +00:00
|
|
|
|
|
|
|
if ($_SERVER['APP_DEBUG']) {
|
|
|
|
umask(0000);
|
|
|
|
}
|