Merge branch 'master' of ssh://forge.april.org:222/siteweb/libreavous
This commit is contained in:
commit
76803dc9e1
@ -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