From 9f69526df75bff7b5b8b0ab877cc4d574c470269 Mon Sep 17 00:00:00 2001 From: Kulya <knavruzov@technounit.uz> Date: Wed, 9 Feb 2022 10:14:44 +0000 Subject: [PATCH] Add new file --- include.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 include.php diff --git a/include.php b/include.php new file mode 100644 index 0000000..51b10cc --- /dev/null +++ b/include.php @@ -0,0 +1,28 @@ +<? +CModule::AddAutoloadClasses( + "bxconnector", + array( + "BxConnectorMain" => "classes/general/main.php", + "BxConnectorSettings" => "classes/general/settings.php", + "BxConnectorEvents" => "classes/general/events.php", + "BxConnectorConnect" => "classes/general/connect.php", + "BxConnectorHistory" => "classes/general/history.php", + "BxConnectorTable" => "classes/general/qrcodes.php", + "TugContainer" => "classes/general/container.php", + ) +); + +CJSCore::RegisterExt('bxconnector', array( + 'js' => [ + '/bitrix/js/bxconnector/bxconnector.js' + ], + 'rel' => [ + 'jquery', + 'phone_number', //'BX24', + ], + 'oninit' => function(){ + return BxConnectorMain::onInit(); + } +)); + +?> \ No newline at end of file -- 2.21.0