// Fixed potential warning on homepage #PSCFV-3679
This commit is contained in:
1 parent
81a1f214b1
commit
78cc75ef62
1 file changed
+1
-1
@@ -2756,7 +2756,7 @@ class AdminControllerCore extends Controller
|
|||||||
$context = stream_context_create($opts);
|
$context = stream_context_create($opts);
|
||||||
foreach ($protocolsList as $protocol => $port)
|
foreach ($protocolsList as $protocol => $port)
|
||||||
{
|
{
|
||||||
$content = file_get_contents($protocol.$this->addons_url, false, $context);
|
$content = Tools::file_get_contents($protocol.$this->addons_url, false, $context);
|
||||||
|
|
||||||
// If content returned, we cache it
|
// If content returned, we cache it
|
||||||
if ($content)
|
if ($content)
|
||||||
|
|||||||
Reference in new issue
Block a user