• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/controller_member.php
  • Класс: __CControllerPacket
  • Вызов: __CControllerPacket::Check
public function Check()
{
	global $APPLICATION;

	$hash = implode("|", func_get_args());
	$md5hash = md5($hash);

	if ($md5hash != $this->hash)
	{
		if (is_object($APPLICATION))
		{
			$e = new CApplicationException("Hash check failed: hash(".$hash.")=".$md5hash." != ".$this->hash);
			$APPLICATION->ThrowException($e);
		}
		return false;
	}

	return true;
}