Correction du chemin du fichier Json
This commit is contained in:
parent
9e786e18cb
commit
38a1a50089
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user