// Merge with revision 7841
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7844 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -582,8 +582,8 @@ class PrestaFraud extends Module
|
||||
}
|
||||
elseif (function_exists('file_get_contents'))
|
||||
{
|
||||
$context = stream_context_create(array('http' => array('timeout' => 5)));
|
||||
return file_get_contents($this->_trustUrl.'?xml='.urlencode(str_replace("\r", "\n", '', $datas)), $context);
|
||||
$stream_context = stream_context_create(array('http' => array('timeout' => 5)));
|
||||
return file_get_contents($this->_trustUrl.'?xml='.urlencode(str_replace("\r", "\n", '', $datas)), $stream_context);
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user