Your IP : 18.188.131.48


Current Path : /home/bitrix/ext_www/dev.home-comfort.in.ua/local/
Upload File :
Current File : /home/bitrix/ext_www/dev.home-comfort.in.ua/local/testddk.php

<?php
$_SERVER["DOCUMENT_ROOT"] = realpath(dirname(__FILE__)."/..");
$DOCUMENT_ROOT = $_SERVER["DOCUMENT_ROOT"];

define("NO_KEEP_STATISTIC", true);
define("NOT_CHECK_PERMISSIONS",true);
define('CHK_EVENT', false);
//for n in {1..1000}; do time php testddk.php r983yd9t7py3wd98ty4p93wtmj9e; done


require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_before.php");

if (!$GLOBALS["USER"]->isAdmin() && $argv[1] != "r983yd9t7py3wd98ty4p93wtmj9e")
	die();

if ($argv[1] == "r983yd9t7py3wd98ty4p93wtmj9e")
{
	$_SERVER["REMOTE_ADDR"] = "91.199.34.100";
}

set_time_limit(0);

//\Bitrix\Main\Loader::includeModule("rusklimat.exchange");
//(new RusklimatExchangeB2bExclusive)->runExchange();
//
//die("done");

\Bitrix\Main\Loader::includeModule("rusklimat.exchange");
\Bitrix\Main\Loader::includeModule("rusklimat.b2b");

(new RusklimatExchangeProductFlatList)->runExchange();
(new RusklimatExchangeFileprocessor)->runExchange();
(new RusklimatExchangeFilesetter)->runExchange();
(new RusklimatExchangeFilechecker)->runExchange();