• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/classes/general/filter.php
  • Класс: CSecurityFilter
  • Вызов: CSecurityFilter::overrideSuperGlobals
protected function overrideSuperGlobals()
{
	self::cleanGlobals();

	$httpRequest = $this->getHttpRequest();
	$_GET = $httpRequest->getQueryList()->toArray();
	$_POST = $httpRequest->getPostList()->toArray();
	$_COOKIE = $httpRequest->getCookieRawList()->toArray();
	$_SERVER = $this->context->getServer()->toArray();

	self::reconstructRequest();
	self::restoreGlobals();
}