• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/backup.php
  • Класс: CTar
  • Вызов: CTar::flushBuffer
function flushBuffer()
{
	if (!$str = $this->Buffer)
		return true;
	$this->Buffer = '';

	if ($key = $this->getEncryptKey())
		$str = $this->encrypt($str, $key);

	return $this->gzip ? gzwrite($this->res, $str) : fwrite($this->res, $str);
}