• Модуль: webdav
  • Путь к файлу: ~/bitrix/modules/webdav/classes/general.php
  • Класс: CWebDavBase
  • Вызов: CWebDavBase::base_GET
function base_GET()
{
	$options = Array();
	$options['path'] = $this->_path;

	$this->_get_ranges($options);

	if (true === ($status = $this->GET($options)))
	{
		$x = $this->SendFile($options);
		if (!is_null($x))
		{
			$status = $x;
		}
	}

	if (!headers_sent())
	{
		if (false === $status)
		{
			$this->ThrowError('404 not found', 'WEBDAV_FILE_NOT_FOUND', '', __FILE__.' '.__LINE__);
		}
		else
		{
			$this->SetStatus($status);
		}
	}
}