• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/update_client.php
  • Класс: CUpdateClient
  • Вызов: CUpdateClient::RunUpdaterScript
static function RunUpdaterScript($_884639638,&$_2050926524, $_84270457, $_2021655151){ global $DBType, $DB, $APPLICATION, $USER; if(!isset($GLOBALS[___844642661(1846)]) ||($GLOBALS[___844642661(1847)] != ___844642661(1848) && $GLOBALS[___844642661(1849)] != ___844642661(1850))){ $GLOBALS[___844642661(1851)]=((US_CALL_TYPE != ___844642661(1852))? COption::GetOptionString(___844642661(1853), ___844642661(1854), ___844642661(1855)): ___844642661(1856));} $strongUpdateCheck= $GLOBALS[___844642661(1857)]; $DOCUMENT_ROOT= $_SERVER[___844642661(1858)]; $_884639638= $GLOBALS['____72038768'][528](___844642661(1859), ___844642661(1860), $_884639638); $updaterPath= $GLOBALS['____72038768'][529]($_884639638); $updaterPath= $GLOBALS['____72038768'][530]($updaterPath, $GLOBALS['____72038768'][531]($_SERVER[___844642661(1861)])); $updaterPath= Trim($updaterPath, ___844642661(1862)); if($updaterPath <> ___844642661(1863)) $updaterPath= ___844642661(1864).$updaterPath; $updaterName= $GLOBALS['____72038768'][532]($_884639638, $GLOBALS['____72038768'][533]($_SERVER[___844642661(1865)])); CUpdateClient::AddMessage2Log(___844642661(1866).$updaterName.___844642661(1867), ___844642661(1868)); $updater= new CUpdater(); $updater->Init($updaterPath, $DBType, $updaterName, $_84270457, $_2021655151, US_CALL_TYPE); $errorMessage= ___844642661(1869); include($_884639638); if($errorMessage <> ___844642661(1870)) $_2050926524 .= $errorMessage; if($GLOBALS['____72038768'][534]($updater->errorMessage) &&!empty($updater->errorMessage)) $_2050926524 .= $GLOBALS['____72038768'][535](___844642661(1871), $updater->errorMessage); unset($updater);}