• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/tar_gz.php
  • Класс: CArchiver
  • Вызов: CArchiver::_openReadWrite
private function _openReadWrite()
{
	if ($this->_bCompress)
	{
		$this->_dFile = @gzopen($this->io->GetPhysicalName($this->_strArchiveName), "r+b");
	}
	else
	{
		$this->_dFile = @fopen($this->io->GetPhysicalName($this->_strArchiveName), "r+b");
	}

	if (!$this->_dFile)
	{
		return false;
	}

	return true;
}