• Модуль: imbot
  • Путь к файлу: ~/bitrix/modules/imbot/lib/itr/designer.php
  • Класс: BitrixImBotItrDesigner
  • Вызов: Designer::getCurrentMenu
private function getCurrentMenu()
{
	$this->cacheId = md5($this->portalId.$this->botId.$this->dialogId);

	if (BitrixMainIOFile::isFileExists($_SERVER['DOCUMENT_ROOT'].'/upload/imopenlines/itr/'.$this->cacheId.'.cache'))
	{
		$this->currentMenu = intval(BitrixMainIOFile::getFileContents($_SERVER['DOCUMENT_ROOT'].'/upload/imopenlines/itr/'.$this->cacheId.'.cache'));
	}
}