• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/document/online/publicpullconfigurator.php
  • Класс: BitrixDiskDocumentOnlinePublicPullConfigurator
  • Вызов: PublicPullConfigurator::init
protected function init(): void
{
	if (!defined('BX_PULL_SKIP_INIT'))
	{
		define("BX_PULL_SKIP_INIT", true);
	}
	elseif (BX_PULL_SKIP_INIT !== true)
	{
		$this->errorCollection->addOne(new Error('Could not set BX_PULL_SKIP_INIT to prevent default p&p configuration.'));
	}

	if (!Loader::includeModule('pull'))
	{
		$this->errorCollection->addOne(new Error('Could not work without "pull" module.'));
	}
}