// MERGE with 1.4 r7770
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