* @copyright 2001-2014 Oxileo SAS * @license Proprietary - no redistribution without authorization */ header('Content-type: text/plain'); include_once '../../../config/config.inc.php'; include_once '../classes/PointRelaisServiceWSService.php'; if(!Tools::getIsset('relaisID') or !Tools::getIsset('cartID') ) die('Parameter Error'); Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'chrono_cart_relais` VALUES ('.Tools::getValue('cartID').', "'.Tools::getValue('relaisID').'") ON DUPLICATE KEY UPDATE id_pr="'.Tools::getValue('relaisID').'"'); echo 'OK';