// 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:
@@ -2756,7 +2756,7 @@ class AdminControllerCore extends Controller
|
||||
$context = stream_context_create($opts);
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user