This commit is contained in:
Bellord
2026-07-07 19:10:50 +03:00
parent 19eaeb4f4e
commit 01d61b89fe
10 changed files with 837 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
use Bitrix\Main\Application;
use Bitrix\Main\EventManager;
use Bitrix\Main\Loader;
if(!Loader::includeModule('wt.core')){
return false;
}
if(!Loader::includeModule('ixrs.catalog')){
return false;
}
if(catalog_base_app()->isIncludeFileToInitPhp()){
return false;
}
catalog_base_app()->isIncludeFileToInitPhp(true);
$isAdminSection = \Bitrix\Main\Application::getInstance()->getContext()->getRequest()->isAdminSection();
$dbType = Application::getConnection()->getType();
Loader::includeModule('iblock');
$arClasses = [
'Bitrix\Iblock\Component\ElementList' => 'modules/iblock/lib/component/elementlist.php',
];
Loader::registerAutoLoadClasses('ixrs.catalog', $arClasses);