add mastodon configuration

This commit is contained in:
2025-04-08 17:14:34 +04:00
parent 6785e85a9a
commit 15374ab5b0
5 changed files with 50 additions and 11 deletions
+22
View File
@@ -142,3 +142,25 @@ define('PRIORITY_CATEGORIES', [
// Durée du cache en secondes
// define('CACHE_DURATION', 3600); // 1 heure
// =========================================
// Configuration Mastodon
// =========================================
// URL de l'instance Mastodon
// define('MASTODON_INSTANCE_URL', 'https://mastodon.social');
// Format de date pour l'affichage des posts
// define('MASTODON_DATE_FORMAT', 'fr-FR');
// Texte du bouton "Voir plus"
// define('MASTODON_BTN_SEE_MORE', 'Voir plus de post');
// Texte du bouton "Rafraichir"
// define('MASTODON_BTN_RELOAD', 'Rafraichir');
// Nombre maximum de posts à récupérer
// define('MASTODON_MAX_POST_FETCH', '10');
// Nombre maximum de posts à afficher
// define('MASTODON_MAX_POST_SHOW', '10');
+10
View File
@@ -38,6 +38,16 @@ if (!defined('PRIORITY_CATEGORIES')) {
]);
}
// =========================================
// Configuration Mastodon
// =========================================
if (!defined('MASTODON_INSTANCE_URL')) define('MASTODON_INSTANCE_URL', 'https://mamot.fr');
if (!defined('MASTODON_DATE_FORMAT')) define('MASTODON_DATE_FORMAT', 'fr-FR');
if (!defined('MASTODON_BTN_SEE_MORE')) define('MASTODON_BTN_SEE_MORE', 'Voir plus de post');
if (!defined('MASTODON_BTN_RELOAD')) define('MASTODON_BTN_RELOAD', 'Rafraichir');
if (!defined('MASTODON_MAX_POST_FETCH')) define('MASTODON_MAX_POST_FETCH', '10');
if (!defined('MASTODON_MAX_POST_SHOW')) define('MASTODON_MAX_POST_SHOW', '10');
// Informations du site
if (!defined('SITE_NAME')) define('SITE_NAME', 'Kaubuntu.re');
if (!defined('SITE_DESCRIPTION')) define('SITE_DESCRIPTION', 'Votre plateforme de médias libres');