2022-06-28 17:20:37 +02:00
|
|
|
<?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');
|
|
|
|
}
|
2023-02-06 10:11:39 +01:00
|
|
|
|
|
|
|
if ($_SERVER['APP_DEBUG']) {
|
|
|
|
umask(0000);
|
|
|
|
}
|