Same architecture as Lesstime: API Platform 4, JWT auth, @malio/layer-ui, PostgreSQL 16, Docker Compose (ports 8083/3003/5436), dark mode theme. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
273 B
PHP
16 lines
273 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);
|
|
}
|