//// Merge -> revision 8290
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8295 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$configPath = '../../../config/config.inc.php';
|
||||
if (file_exists($configPath))
|
||||
{
|
||||
include('../../../config/config.inc.php');
|
||||
include('../../../modules/ebay/ebay.php');
|
||||
if (!Tools::getValue('token') || Tools::getValue('token') != Configuration::get('EBAY_SECURITY_TOKEN'))
|
||||
die('ERROR : Invalid Token');
|
||||
|
||||
global $cookie;
|
||||
$cookie = new Cookie('psEbay', '', 3600);
|
||||
|
||||
$ebay = new eBay();
|
||||
$ebay->ajaxProductSync();
|
||||
|
||||
unset($cookie);
|
||||
}
|
||||
else
|
||||
echo 'ERROR';
|
||||
|
||||
Reference in New Issue
Block a user