• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/response/file.php
  • Класс: BitrixMainEngineResponseFile
  • Вызов: File::prepareFile
protected function prepareFile()
{
	$path = new BitrixMainIOFile($this->getPath());

	return CFile::makeFileArray($path->getPhysicalPath());
}