• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/block.php
  • Класс: BitrixLandingBlock
  • Вызов: Block::getGeneralPaths
static function getGeneralPaths()
{
	static $paths = null;

	if (!$paths)
	{
		$paths = [
			BX_ROOT . '/' . self::BLOCKS_DIR,
			getLocalPath(self::BLOCKS_DIR)
		];
		if ($paths[0] == $paths[1])
		{
			unset($paths[1]);
		}
	}

	return $paths;
}