mirror of
https://github.com/YunoHost/install-app.git
synced 2024-09-03 20:06:19 +02:00
Oops I broke things again²
This commit is contained in:
parent
48199f2024
commit
60cf3bb703
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ if (!file_exists("locales/".$user_locale.".json")) { $user_locale = 'en'; }
|
|||
$locale=json_decode(file_get_contents("locales/".$user_locale.".json"), true);
|
||||
|
||||
// Parse the apps list
|
||||
$apps_list_json=file_get_contents("https://app.yunohost.org/default/v2/apps.json");
|
||||
$apps_list=json_decode($apps_list_json, true);
|
||||
$apps_list_json=file_get_contents("http://app.yunohost.org/default/v2/apps.json");
|
||||
$apps_list=json_decode($apps_list_json, true)["apps"];
|
||||
|
||||
// Check if the app is the apps list
|
||||
if(array_key_exists($app, $apps_list)) {
|
||||
|
|
Loading…
Reference in a new issue