// Fixed potential warning on homepage #PSCFV-3679
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16905 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
0c669115c9
commit
81196865b9
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