- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/classes/general/update_client.php
- Класс: CUpdateClient
- Вызов: CUpdateClient::UpdateUpdate
static function UpdateUpdate(&$_2050926524, $_41514650= false, $_170690667= "Y"){ $_2024921826= ""; CUpdateClient::AddMessage2Log(___844642661(453)); $_592347650= CUpdateClient::CollectRequestData($_2024921826, $_41514650, $_170690667, array(), array(), array()); if($_592347650 === false || $_592347650 == ___844642661(454) || $_2024921826 <> ___844642661(455)){ if($_2024921826 == ___844642661(456)) $_2024921826= ___844642661(457).GetMessage(___844642661(458)).___844642661(459);} if($_2024921826 == ___844642661(460)){ $_592347650 .= ___844642661(461); CUpdateClient::AddMessage2Log($GLOBALS['____72038768'][85](___844642661(462), ___844642661(463), $_592347650)); $_1875326983= CUpdateClient::getmicrotime(); $_2010661539= CUpdateClient::GetHTTPPage(___844642661(464), $_592347650, $_2024921826); if($_2010661539 == ___844642661(465)){ if($_2024921826 == ___844642661(466)) $_2024921826= ___844642661(467).GetMessage(___844642661(468)).___844642661(469);} CUpdateClient::AddMessage2Log(___844642661(470).Round(CUpdateClient::getmicrotime()- $_1875326983, round(0+3)).___844642661(471));} if($_2024921826 == ___844642661(472)){ if(!($_336779488= $GLOBALS['____72038768'][86]($_SERVER[___844642661(473)].___844642661(474), ___844642661(475)))) $_2024921826 .= ___844642661(476).$GLOBALS['____72038768'][87](___844642661(477), $_SERVER[___844642661(478)].___844642661(479), GetMessage(___844642661(480))).___844642661(481);} if($_2024921826 == ___844642661(482)){ if(!$GLOBALS['____72038768'][88]($_336779488, $_2010661539)) $_2024921826 .= ___844642661(483).$GLOBALS['____72038768'][89](___844642661(484), $_SERVER[___844642661(485)].___844642661(486), GetMessage(___844642661(487))).___844642661(488);@$GLOBALS['____72038768'][90]($_336779488);} if($_2024921826 == ___844642661(489)){ $_1689487881= ___844642661(490); if(!CUpdateClient::UnGzipArchive($_1689487881, $_2024921826, ___844642661(491))) $_2024921826 .= ___844642661(492).GetMessage(___844642661(493)).___844642661(494);} if($_2024921826 == ___844642661(495)){ $_1624181602= $_SERVER[___844642661(496)].___844642661(497).$_1689487881; if(!$GLOBALS['____72038768'][91]($_1624181602.___844642661(498)) ||!$GLOBALS['____72038768'][92]($_1624181602.___844642661(499))) $_2024921826 .= ___844642661(500).$GLOBALS['____72038768'][93](___844642661(501), $_1624181602.___844642661(502), GetMessage(___844642661(503))).___844642661(504);} if($_2024921826 == ___844642661(505)){ if(!$GLOBALS['____72038768'][94]($_1624181602.___844642661(506))) $_2024921826 .= ___844642661(507).$GLOBALS['____72038768'][95](___844642661(508), $_1624181602.___844642661(509), GetMessage(___844642661(510))).___844642661(511);} if($_2024921826 == ___844642661(512)) $_2010661539= $GLOBALS['____72038768'][96]($_1624181602.___844642661(513)); if($_2024921826 == ___844642661(514)){ $_1916023688= Array(); CUpdateClient::__2061500291($_2010661539, $_1916023688, $_2024921826);} if($_2024921826 == ___844642661(515)){ if(isset($_1916023688[___844642661(516)][___844642661(517)][___844642661(518)]) && $GLOBALS['____72038768'][97]($_1916023688[___844642661(519)][___844642661(520)][___844642661(521)]) &&!empty($_1916023688[___844642661(522)][___844642661(523)][___844642661(524)])){ for($_1540823556= min(226,0,75.333333333333), $_1519453005= $GLOBALS['____72038768'][98]($_1916023688[___844642661(525)][___844642661(526)][___844642661(527)]); $_1540823556< $_1519453005; $_1540823556++){ if($_1916023688[___844642661(528)][___844642661(529)][___844642661(530)][$_1540823556][___844642661(531)][___844642661(532)] <> ___844642661(533)) $_2024921826 .= ___844642661(534).$_1916023688[___844642661(535)][___844642661(536)][___844642661(537)][$_1540823556][___844642661(538)][___844642661(539)].___844642661(540); $_2024921826 .= $_1916023688[___844642661(541)][___844642661(542)][___844642661(543)][$_1540823556][___844642661(544)].___844642661(545);}}} if($_2024921826 == ___844642661(546)){ $_522562541= $_SERVER[___844642661(547)].US_SHARED_KERNEL_PATH.___844642661(548); CUpdateClient::CheckDirPath($_522562541.___844642661(549), true); if(!$GLOBALS['____72038768'][99]($_522562541) ||!$GLOBALS['____72038768'][100]($_522562541)) $_2024921826 .= ___844642661(550).$GLOBALS['____72038768'][101](___844642661(551), $_522562541, GetMessage(___844642661(552))).___844642661(553); if($_2024921826 == ___844642661(554)) if(!$GLOBALS['____72038768'][102]($_522562541)) $_2024921826 .= ___844642661(555).$GLOBALS['____72038768'][103](___844642661(556), $_522562541, GetMessage(___844642661(557))).___844642661(558);} if($_2024921826 == ___844642661(559)){ CUpdateClient::CopyDirFiles($_1624181602.___844642661(560), $_522562541, $_2024921826);} if($_2024921826 == ___844642661(561)){ CUpdateClient::AddMessage2Log(___844642661(562), ___844642661(563)); CUpdateClient::DeleteDirFilesEx($_1624181602); bx_accelerator_reset();} if($_2024921826 <> ___844642661(564)){ CUpdateClient::AddMessage2Log($_2024921826, ___844642661(565)); $_2050926524 .= $_2024921826; return false;} else return true;}