2017-11-15 12:47:01 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
|
|
|
|
$_SERVER['SERVER_NAME'] = 'www.bebeboutik.com';
|
|
|
|
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
|
|
|
$_SERVER['HTTP_PORT'] = 443;
|
|
|
|
$_SERVER['HTTP_X_FORWARDED_PORT'] = 443;
|
|
|
|
$_SERVER['SERVER_PORT'] = 443;
|
2017-12-07 11:12:46 +01:00
|
|
|
$_SERVER['HTTPS'] = 'on';
|
2017-11-15 12:47:01 +01:00
|
|
|
|
|
|
|
global $protocol_content;
|
|
|
|
include __DIR__ . '/../../../config/settings.inc.php';
|
|
|
|
include __DIR__ . '/../../../config/config.inc.php';
|
|
|
|
|
|
|
|
if(!Tools::isCli()){
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
|
|
|
|
define('_PS_BASE_URL_', Tools::getShopDomain(true));
|
|
|
|
|
|
|
|
$protocol_content = Tools::getProtocol();
|
|
|
|
|
|
|
|
include __DIR__ . '/../sensefuel.php';
|
|
|
|
|
|
|
|
$module_instance = new sensefuel();
|
|
|
|
|
|
|
|
if ($module_instance->active) {
|
|
|
|
$senseFuelFluxExport = new SenseFuelFluxExport($module_instance);
|
|
|
|
$senseFuelFluxExport->writeXml();
|
|
|
|
}
|