forked from extern/egroupware
Fix tutorials.json url to use https
This commit is contained in:
parent
32d10dd243
commit
fbf63bf65c
@ -120,7 +120,7 @@ class Tutorial
|
|||||||
{
|
{
|
||||||
if (!($json = Api\Cache::getCache(Api\Cache::TREE, __CLASS__, 'egw_tutorial_json')))
|
if (!($json = Api\Cache::getCache(Api\Cache::TREE, __CLASS__, 'egw_tutorial_json')))
|
||||||
{
|
{
|
||||||
$json = file_get_contents('http://www.egroupware.de/videos/tutorials.json');
|
$json = file_get_contents('https://www.egroupware.de/videos/tutorials.json');
|
||||||
// Fallback tutorials.json
|
// Fallback tutorials.json
|
||||||
if (!$json) $json = file_get_contents('api/setup/tutorials.json');
|
if (!$json) $json = file_get_contents('api/setup/tutorials.json');
|
||||||
// Cache the json object for two hours
|
// Cache the json object for two hours
|
||||||
|
Loading…
Reference in New Issue
Block a user