Your IP : 3.14.247.231


Current Path : /home/bitrix/ext_www/klimatlend.ua/ajax/esolutions.importexcel/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/ajax/esolutions.importexcel/include.php

<?php
include_once(dirname(__FILE__).'/install/demo.php');

$moduleId = 'esolutions.importexcel';
$moduleJsId = str_replace('.', '_', $moduleId);
$pathJS = '/bitrix/js/'.$moduleId;
$pathCSS = '/bitrix/panel/'.$moduleId;
$pathLang = BX_ROOT.'/modules/'.$moduleId.'/lang/'.LANGUAGE_ID;
CModule::AddAutoloadClasses(
	$moduleId,
	array(
		'CKDAFieldList' => 'classes/general/field_list.php',
		'CKDAImportProfile' => 'classes/general/profile.php',
		'CKDAImportProfileAll' => 'classes/general/profile.php',
		'CKDAImportProfileDB' => 'classes/general/profile_db.php',
		'CKDAImportProfileFS' => 'classes/general/profile_fs.php',
		'CKDAImportExcel' => 'classes/general/import.php',
		'CKDAImportExcelHighload' => 'classes/general/import_highload.php',
		'CKDAImportExtraSettings' => 'classes/general/extrasettings.php',
		'CKDAImportUtils' => 'classes/general/utils.php',
		'CKDAImportLogger' => 'classes/general/logger.php',
		//'CKDAImportMail' => 'classes/general/mail.php',
		'\Bitrix\KdaImportexcel\ProfileTable' => "lib/profile.php",
		'\Bitrix\KdaImportexcel\ProfileHlTable' => "lib/profile_hl.php",
		'\Bitrix\KdaImportexcel\ProfileElementTable' => "lib/profile_element.php",
		'\Bitrix\KdaImportexcel\Sftp' => "lib/sftp.php",
		'\Bitrix\KdaImportexcel\Conversion' => "lib/conversion.php",
		'\Bitrix\KdaImportexcel\Cloud' => "lib/cloud.php",
		'\Bitrix\KdaImportexcel\Cloud\MailRu' => "lib/cloud/mail_ru.php",
		'\Bitrix\KdaImportexcel\ZipArchive' => "lib/zip_archive.php",
		'\Bitrix\KdaImportexcel\Imap' => "lib/mail/imap.php",
		'\Bitrix\KdaImportexcel\SMail' => "lib/mail/mail.php",
		'\Bitrix\KdaImportexcel\MailHeader' => "lib/mail/mail_header.php",
		'\Bitrix\KdaImportexcel\MailMessage' => "lib/mail/mail_message.php",
		'\Bitrix\KdaImportexcel\MailUtil' => "lib/mail/mail_util.php",
		'\Bitrix\KdaImportexcel\DataManager\Discount' => "lib/datamanager/discount.php",
		'\Bitrix\KdaImportexcel\DataManager\DiscountProductTable' => "lib/datamanager/discount_product_table.php",
	)
);

$initFile = $_SERVER["DOCUMENT_ROOT"].BX_ROOT.'/php_interface/include/'.$moduleId.'/init.php';
if(file_exists($initFile)) include_once($initFile);

$arJSKdaIBlockConfig = array(
	$moduleJsId => array(
		'js' => $pathJS.'/script.js',
		'css' => $pathCSS.'/styles.css',
		'rel' => array('jquery', $moduleJsId.'_chosen'),
		'lang' => $pathLang.'/js_admin.php',
	),
	$moduleJsId.'_highload' => array(
		'js' => $pathJS.'/script_highload.js',
		'css' => $pathCSS.'/styles.css',
		'rel' => array('jquery', $moduleJsId.'_chosen'),
		'lang' => $pathLang.'/js_admin_hlbl.php',
	),
	$moduleJsId.'_chosen' => array(
		'js' => $pathJS.'/chosen/chosen.jquery.min.js',
		'css' => $pathJS.'/chosen/chosen.min.css',
		'rel' => array('jquery')
	),
);

foreach ($arJSKdaIBlockConfig as $ext => $arExt) {
	CJSCore::RegisterExt($ext, $arExt);
}
?>