Fix tutorials.json url to use https

This commit is contained in:
Hadi Nategh 2018-03-12 11:07:59 +01:00
parent 32d10dd243
commit fbf63bf65c

View File

@ -120,7 +120,7 @@ class Tutorial
{
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
if (!$json) $json = file_get_contents('api/setup/tutorials.json');
// Cache the json object for two hours