public static function OnBeforeProlog() { if (CSecuritySystemInformation::isCliMode()) return; if(CSecurityFilterMask::Check(SITE_ID, $_SERVER["REQUEST_URI"])) return; if(self::currentUserHaveRightsForSkip()) { if( check_bitrix_sessid() && ( !isset($_POST['____SECFILTER_CONVERT_JS']) || !$_POST['____SECFILTER_CONVERT_JS'] ) ) { return; } } $filter = new CSecurityFilter; $filter->process(); }
/** * */ public static function OnBeforeProlog() { if (CSecurityFilterMask::Check(SITE_ID, $_SERVER["REQUEST_URI"])) { return; } $filter = new CSecurityFilter(); $filter->process(); }