From 38a1a5008921bc0f2bfd80ffbf899343094eef40 Mon Sep 17 00:00:00 2001 From: Vincent Calame Date: Mon, 18 Oct 2021 19:53:20 +0200 Subject: [PATCH] Correction du chemin du fichier Json --- libreavous_fonctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libreavous_fonctions.php b/libreavous_fonctions.php index badf703..e94bf0f 100644 --- a/libreavous_fonctions.php +++ b/libreavous_fonctions.php @@ -97,7 +97,7 @@ function libreavous_import_run($id_article) { $ogg_size = ""; $mp3_size = ""; try { - $jsonContents = file_get_contents("https://forge.april.org/libreavous/lav-outils/src/branch/master/podcasts/config/lav-".$code_emission.".json"); + $jsonContents = file_get_contents("https://forge.april.org/libreavous/lav-outils/raw/branch/master/podcasts/config/lav-".$code_emission.".json"); $json = json_decode($jsonContents, true); if (!$json) { $erreurs[] = "JSON incorrect";