Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit b20beb9

Browse files
authored
Always include iblock module
1 parent b8c8367 commit b20beb9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

migrator

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ use Symfony\Component\Console\Application;
1515
define("NOT_CHECK_PERMISSIONS", true);
1616
$_SERVER["DOCUMENT_ROOT"] = __DIR__;
1717
$DOCUMENT_ROOT = $_SERVER["DOCUMENT_ROOT"];
18-
include $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php";
18+
require $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php";
1919

20+
CModule::IncludeModule("iblock");
21+
2022
$config = [
2123
'table' => 'migrations',
2224
'dir' => './migrations',

0 commit comments

Comments
 (0)