- getSoutenirContent() → getContent() - SOUTIEN_API_TOKEN → SUPPORT_API_TOKEN - API URL : api/soutien-content → api/support-content Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
252 B
PHP
6 lines
252 B
PHP
<?php
|
|
|
|
define('KIRBY_API_URL', 'https://www.index.ngo/api/support-content');
|
|
define('SUPPORT_API_TOKEN', ''); // À remplir avec le même token que dans la config Kirby
|
|
define('CACHE_TTL', 300); // 5 minutes
|
|
define('CACHE_DIR', __DIR__ . '/../cache');
|