• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/backup.php
  • Класс: CDirRealScan
  • Вызов: CDirRealScan::Skip
function Skip($f)
{
	static $bFoundDocumentRoot;
	$res = false;
	if ($this->startPath)
	{
		if (mb_strpos($this->startPath.'/', $f.'/') === 0)
		{
			if ($this->startPath == $f)
			{
				$this->startPath = '';
			}

			return false;
		}
		else
			return true;
	}
	elseif (!empty($this->arSkip[$f]))
		return true;
	elseif ($bFoundDocumentRoot)
		$res = CBackup::ignorePath($f);

	$bFoundDocumentRoot = true;
	return $res;
}