22 lines
516 B
PHP
Raw Normal View History

2016-01-13 18:43:41 +03:00
<?php
2017-09-01 10:14:13 +02:00
/**
* @author Retail Driver LCC
* @copyright RetailCRM
* @license GPL
* @version 2.2.0
2017-09-01 10:14:13 +02:00
* @link https://retailcrm.ru
*
*/
$_SERVER['HTTPS'] = 1;
2016-01-13 18:43:41 +03:00
require(dirname(__FILE__) . '/../../../config/config.inc.php');
require(dirname(__FILE__) . '/../../../init.php');
require(dirname(__FILE__) . '/../bootstrap.php');
$job = new RetailcrmCatalog();
$data = $job->getData();
$icml = new RetailcrmIcml(Configuration::get('PS_SHOP_NAME'), _PS_ROOT_DIR_ . '/retailcrm.xml');
$icml->generate($data[0], $data[1]);