// MERGE with 1.4 r7770
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7776 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -36,8 +36,11 @@ include_once(dirname(__FILE__).'/twenga.php');
|
||||
if ((sha1(Configuration::get('TWENGA_TOKEN')._COOKIE_KEY_)) != Tools::getValue('twenga_token'))
|
||||
die('FATAL ERROR : INVALID TOKEN');
|
||||
|
||||
if (!ini_get('safe_mode'))
|
||||
@set_time_limit(300);
|
||||
|
||||
$export = new Twenga();
|
||||
$output = $export->buildXML();
|
||||
if (empty($export->_errors))
|
||||
header("Content-type: text/xml; charset=utf-8");
|
||||
echo $output;
|
||||
echo $output;
|
||||
|
||||
Reference in New Issue
Block a user