refactor: use variable DEFAULT_TIMEZONE

This commit is contained in:
2025-10-08 20:52:40 +04:00
parent f1f056f7f3
commit 04a7e4c6eb
6 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ if (file_exists($config_default_file)) {
// Locale et fuseau horaire
setlocale(LC_TIME, 'fr_FR.UTF-8');
date_default_timezone_set('Indian/Reunion');
date_default_timezone_set(DEFAULT_TIMEZONE);
// Initialisation des catégories de vidéo depuis l'API
$peertube_categories = initCategories();