Merge branch 'master' of ssh://forge.april.org:222/siteweb/libreavous

This commit is contained in:
chankalan 2021-10-19 15:26:57 +02:00
commit 76803dc9e1

View File

@ -97,7 +97,7 @@ function libreavous_import_run($id_article) {
$ogg_size = ""; $ogg_size = "";
$mp3_size = ""; $mp3_size = "";
try { 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); $json = json_decode($jsonContents, true);
if (!$json) { if (!$json) {
$erreurs[] = "JSON incorrect"; $erreurs[] = "JSON incorrect";