Загрузка данных
root@663318:~# grep -R 'const VERSION\|const VERSION_ID" /var/www/xenforo/src/XF.php /var/www/xenforo/src/XF/App.php 2>/dev/null | head
> ^C
root@663318:~# grep -R "const VERSION\|const VERSION_ID" /var/www/xenforo/src/XF.php /var/www/xenforo/src/XF/App.php 2>/dev/null | head
root@663318:~# grep -R "const VERSION\|const VERSION_ID" /var/www/xenforo/src/XF.php /var/www/xenforo/src/XF/App.php 2>/dev/null | head
root@663318:~# grep -RniE "VERSION_ID|VERSION_STRING|version_id|versionString" /var/www/xenforo/src/XF /var/www/xenforo/src 2>/dev/null | head -30
/var/www/xenforo/src/XF/Service/Phrase/ImportService.php:60: $phrase->version_id = (int) $xmlPhrase['version_id'];
/var/www/xenforo/src/XF/Service/Phrase/ImportService.php:61: $phrase->version_string = (string) $xmlPhrase['version_string'];
/var/www/xenforo/src/XF/Service/AddOnArchive/ValidatorService.php:99: $newVersionId = $json['version_id'] ?? 0;
/var/www/xenforo/src/XF/Service/AddOnArchive/ValidatorService.php:104: if ($newVersionId < $installedAddOns[$this->addOnId]->version_id)
/var/www/xenforo/src/XF/Service/AddOnArchive/InstallBatchCreatorService.php:85: $this->installBatch->addAddOn($addOnId, $json['title'], $json['version_id'], $json['version_string'], $tempFile);
/var/www/xenforo/src/XF/Service/Style/ExportService.php:18: public const EXPORT_VERSION_ID = 2;
/var/www/xenforo/src/XF/Service/Style/ExportService.php:144: $styleNode->setAttribute('base_version_id', $this->addOn->version_id);
/var/www/xenforo/src/XF/Service/Style/ExportService.php:148: $styleNode->setAttribute('base_version_id', \XF::$versionId);
/var/www/xenforo/src/XF/Service/Style/ExportService.php:150: $styleNode->setAttribute('export_version', self::EXPORT_VERSION_ID);
/var/www/xenforo/src/XF/Service/Style/ExportService.php:175: $templateNode->setAttribute('version_id', $template['version_id']);
/var/www/xenforo/src/XF/Service/Style/ExportService.php:176: $templateNode->setAttribute('version_string', $template['version_string']);
/var/www/xenforo/src/XF/Service/Style/ImportService.php:79: if ((string) $rootElement['export_version'] != (string) ExportService::EXPORT_VERSION_ID)
/var/www/xenforo/src/XF/Service/Style/ImportService.php:104: $expectedVersionId = $addOn->version_id;
/var/www/xenforo/src/XF/Service/Style/ImportService.php:112: $baseVersionId = (int) $document['base_version_id'];
/var/www/xenforo/src/XF/Service/Style/ImportService.php:118: $errors['version_id'] = \XF::phrase('xml_file_based_on_newer_version_than_installed');
/var/www/xenforo/src/XF/Service/Style/ImportService.php:291: $template->version_id = (int) $xmlTemplate['version_id'];
/var/www/xenforo/src/XF/Service/Style/ImportService.php:292: $template->version_string = (string) $xmlTemplate['version_string'];
/var/www/xenforo/src/XF/Service/Language/ExportService.php:14: public const EXPORT_VERSION_ID = 2;
/var/www/xenforo/src/XF/Service/Language/ExportService.php:127: $languageNode->setAttribute('base_version_id', $this->addOn->version_id);
/var/www/xenforo/src/XF/Service/Language/ExportService.php:131: $languageNode->setAttribute('base_version_id', \XF::$versionId);
/var/www/xenforo/src/XF/Service/Language/ExportService.php:133: $languageNode->setAttribute('export_version', self::EXPORT_VERSION_ID);
/var/www/xenforo/src/XF/Service/Language/ExportService.php:148: $phraseNode->setAttribute('version_id', $phrase['version_id']);
/var/www/xenforo/src/XF/Service/Language/ExportService.php:149: $phraseNode->setAttribute('version_string', $phrase['version_string']);
/var/www/xenforo/src/XF/Service/Language/ImportService.php:58: if ((string) $rootElement['export_version'] != (string) ExportService::EXPORT_VERSION_ID)
/var/www/xenforo/src/XF/Service/Language/ImportService.php:83: $expectedVersionId = $addOn->version_id;
/var/www/xenforo/src/XF/Service/Language/ImportService.php:91: $baseVersionId = (int) $document['base_version_id'];
/var/www/xenforo/src/XF/Service/Language/ImportService.php:97: $errors['version_id'] = \XF::phrase('xml_file_based_on_newer_version_than_installed');
/var/www/xenforo/src/XF/Service/Upgrade/CheckerService.php:41: ->pluckNamed('version_id', 'addon_id');
/var/www/xenforo/src/XF/Service/Upgrade/DownloaderService.php:63: 'version_id' => $targetVersionId,
/var/www/xenforo/src/XF/Entity/UpgradeCheck.php:97: $versionId = $product == 'XF' ? \XF::$versionId : $addOn->version_id;
root@663318:~# grep -Rni "2031070" /var/www/xenforo 2>/dev/null | head
/var/www/xenforo/src/addons/XF/hashes.json:4759: "src/XF/Install/Upgrade/2031070-2310.php": "5e7a99596b09a17ecb95170448f003f5b7e01c1cd1b29aae07bd2f94022f65cc",
/var/www/xenforo/src/addons/XF/_data/phrases.xml:7365: <phrase title="option.errorLogLength" version_id="2031070" version_string="2.3.10"><![CDATA[Error log length]]></phrase>
/var/www/xenforo/src/addons/XF/_data/phrases.xml:7616: <phrase title="option_explain.errorLogLength" version_id="2031070" version_string="2.3.10"><![CDATA[The number of days that server error log records will be kept for. Use 0 to keep the records permanently.]]></phrase>
/var/www/xenforo/src/XF/Install/Upgrade/2031070-2310.php:7:class Version2031070 extends AbstractUpgrade
root@663318:~#