This commit is contained in:
2025-04-22 22:24:17 +02:00
parent 66b57ea84a
commit 7b05e52d95
29 changed files with 441 additions and 431 deletions

View File

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