// REVERT MERGE

This commit is contained in:
rMalie committed 2011-07-27 13:35:06 +00:00
1 parent 233c0076b7
commit 5f6f018885
182 files changed
+1335 -6181

No files matched your search

+4 -3
View File
@@ -207,9 +207,10 @@ function createDir($path, $rights)
function checkPSVersion()
{
$upgrader = new Upgrader();
return $upgrader->checkPSVersion();
libxml_set_streams_context(stream_context_create(array('http' => array('timeout' => 3))));
if ($feed = @simplexml_load_file('http://www.prestashop.com/xml/version.xml') AND _PS_VERSION_ < $feed->version->num)
return array('name' => $feed->version->name, 'link' => $feed->download->link);
return false;
}
function translate($string)