- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/classes/general/update_client.php
- Класс: CUpdateClient
- Вызов: CUpdateClient::RegisterVersion
static function RegisterVersion(&$_2050926524, $_41514650= false, $_170690667= "Y"){ $_2024921826= ""; CUpdateClient::AddMessage2Log(___844642661(629)); $_592347650= CUpdateClient::CollectRequestData($_2024921826, $_41514650, $_170690667, array(), array(), array()); if($_592347650 === false || $_592347650 == ___844642661(630) || $_2024921826 <> ___844642661(631)){ if($_2024921826 == ___844642661(632)) $_2024921826= ___844642661(633).GetMessage(___844642661(634)).___844642661(635);} if($_2024921826 == ___844642661(636)){ $_592347650 .= ___844642661(637); CUpdateClient::AddMessage2Log($GLOBALS['____72038768'][115](___844642661(638), ___844642661(639), $_592347650)); $_1875326983= CUpdateClient::getmicrotime(); $_2010661539= CUpdateClient::GetHTTPPage(___844642661(640), $_592347650, $_2024921826); if($_2010661539 == ___844642661(641)){ if($_2024921826 == ___844642661(642)) $_2024921826= ___844642661(643).GetMessage(___844642661(644)).___844642661(645);} CUpdateClient::AddMessage2Log(___844642661(646).Round(CUpdateClient::getmicrotime()- $_1875326983, round(0+0.6+0.6+0.6+0.6+0.6)).___844642661(647));} if($_2024921826 == ___844642661(648)){ if(!($_336779488= $GLOBALS['____72038768'][116]($_SERVER[___844642661(649)].___844642661(650), ___844642661(651)))) $_2024921826 .= ___844642661(652).$GLOBALS['____72038768'][117](___844642661(653), $_SERVER[___844642661(654)].___844642661(655), GetMessage(___844642661(656))).___844642661(657);} if($_2024921826 == ___844642661(658)){ if(!$GLOBALS['____72038768'][118]($_336779488, $_2010661539)) $_2024921826 .= ___844642661(659).$GLOBALS['____72038768'][119](___844642661(660), $_SERVER[___844642661(661)].___844642661(662), GetMessage(___844642661(663))).___844642661(664);@$GLOBALS['____72038768'][120]($_336779488);} if($_2024921826 == ___844642661(665)){ $_1689487881= ___844642661(666); if(!CUpdateClient::UnGzipArchive($_1689487881, $_2024921826, ___844642661(667))) $_2024921826 .= ___844642661(668).GetMessage(___844642661(669)).___844642661(670);} if($_2024921826 == ___844642661(671)){ $_1624181602= $_SERVER[___844642661(672)].___844642661(673).$_1689487881; if(!$GLOBALS['____72038768'][121]($_1624181602.___844642661(674)) ||!$GLOBALS['____72038768'][122]($_1624181602.___844642661(675))) $_2024921826 .= ___844642661(676).$GLOBALS['____72038768'][123](___844642661(677), $_1624181602.___844642661(678), GetMessage(___844642661(679))).___844642661(680);} if($_2024921826 == ___844642661(681)){ if(!$GLOBALS['____72038768'][124]($_1624181602.___844642661(682))) $_2024921826 .= ___844642661(683).$GLOBALS['____72038768'][125](___844642661(684), $_1624181602.___844642661(685), GetMessage(___844642661(686))).___844642661(687);} if($_2024921826 == ___844642661(688)) $_2010661539= $GLOBALS['____72038768'][126]($_1624181602.___844642661(689)); if($_2024921826 == ___844642661(690)){ $_1916023688= Array(); CUpdateClient::__2061500291($_2010661539, $_1916023688, $_2024921826);} if($_2024921826 == ___844642661(691)){ if(isset($_1916023688[___844642661(692)][___844642661(693)][___844642661(694)]) && $GLOBALS['____72038768'][127]($_1916023688[___844642661(695)][___844642661(696)][___844642661(697)]) &&!empty($_1916023688[___844642661(698)][___844642661(699)][___844642661(700)])){ for($_1540823556=(1392/2-696), $_1519453005= $GLOBALS['____72038768'][128]($_1916023688[___844642661(701)][___844642661(702)][___844642661(703)]); $_1540823556< $_1519453005; $_1540823556++){ if($_1916023688[___844642661(704)][___844642661(705)][___844642661(706)][$_1540823556][___844642661(707)][___844642661(708)] <> ___844642661(709)) $_2024921826 .= ___844642661(710).$_1916023688[___844642661(711)][___844642661(712)][___844642661(713)][$_1540823556][___844642661(714)][___844642661(715)].___844642661(716); $_2024921826 .= $_1916023688[___844642661(717)][___844642661(718)][___844642661(719)][$_1540823556][___844642661(720)].___844642661(721);}}} if($_2024921826 == ___844642661(722)){ if(!$GLOBALS['____72038768'][129]($_1624181602.___844642661(723)) ||!$GLOBALS['____72038768'][130]($_1624181602.___844642661(724))) $_2024921826 .= ___844642661(725).GetMessage(___844642661(726)).___844642661(727);} if($_2024921826 == ___844642661(728)){ $_1016355053=@$GLOBALS['____72038768'][131]($_1624181602.___844642661(729)); if($GLOBALS['____72038768'][132]($_1016355053) != $GLOBALS['____72038768'][133]($_1916023688[___844642661(730)][___844642661(731)][___844642661(732)][(155*2-310)][___844642661(733)][___844642661(734)])) $_2024921826 .= ___844642661(735).GetMessage(___844642661(736)).___844642661(737);} if($_2024921826 == ___844642661(738)){ if(!$GLOBALS['____72038768'][134]($_SERVER[___844642661(739)].US_SHARED_KERNEL_PATH.___844642661(740))) $_2024921826 .= ___844642661(741).$GLOBALS['____72038768'][135](___844642661(742), $_SERVER[___844642661(743)].US_SHARED_KERNEL_PATH.___844642661(744), GetMessage(___844642661(745))).___844642661(746);} if($_2024921826 == ___844642661(747)){ if(!$GLOBALS['____72038768'][136]($_1624181602.___844642661(748), $_SERVER[___844642661(749)].US_SHARED_KERNEL_PATH.___844642661(750))) $_2024921826 .= ___844642661(751).GetMessage(___844642661(752)).___844642661(753);@$GLOBALS['____72038768'][137]($_SERVER[___844642661(754)].US_SHARED_KERNEL_PATH.___844642661(755), BX_FILE_PERMISSIONS);} if($_2024921826 == ___844642661(756)){ $strongUpdateCheck= COption::GetOptionString(___844642661(757), ___844642661(758), ___844642661(759)); if($strongUpdateCheck == ___844642661(760)){ $_578971904= $GLOBALS['____72038768'][138]($GLOBALS['____72038768'][139]($GLOBALS['____72038768'][140]($_1624181602.___844642661(761)))); $_1233646123= $GLOBALS['____72038768'][141]($GLOBALS['____72038768'][142]($GLOBALS['____72038768'][143]($_SERVER[___844642661(762)].US_SHARED_KERNEL_PATH.___844642661(763)))); if($_1233646123 != $_578971904) $_2024921826 .= ___844642661(764).$GLOBALS['____72038768'][144](___844642661(765), $_SERVER[___844642661(766)].US_SHARED_KERNEL_PATH.___844642661(767), GetMessage(___844642661(768))).___844642661(769);}} if($_2024921826 == ___844642661(770)){ CUpdateClient::AddMessage2Log(___844642661(771), ___844642661(772)); CUpdateClient::DeleteDirFilesEx($_1624181602);} if($_2024921826 <> ___844642661(773)){ CUpdateClient::AddMessage2Log($_2024921826, ___844642661(774)); $_2050926524 .= $_2024921826; return false;} else return true;}