fix : DATA_PATH défini dans config/config.php (manquant à l'exécution)

bootstrap.php ne suffisait pas — index.php, feed.php et sitemap.php passent
par config/config.php. DATA_PATH est maintenant défini là, juste après le
chargement du .env. file.php charge désormais config/config.php.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 09:23:38 +02:00
parent 9069a64a0c
commit e803d2d0a7
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -4,6 +4,9 @@ declare(strict_types=1);
define('BASE_PATH', realpath(__DIR__ . '/../'));
require_once BASE_PATH . '/vendor/autoload.php';
require_once BASE_PATH . '/config/config.php';
$uuid = $_GET['uuid'] ?? '';
$name = $_GET['name'] ?? '';