Add full version

This commit is contained in:
Laurent Destailleur 2026-02-20 00:49:35 +01:00
parent 4a212daf49
commit a4d5990c2e
2 changed files with 5 additions and 0 deletions

View file

@ -393,6 +393,9 @@ function callApiToPushCounter($id, $signature, $test, $previousid, $previoussign
$data .= '&datesys='.urlencode(dol_print_date(dol_now(), 'standard', 'gmt'));
$data .= '&version='.(float) DOL_VERSION;
$data .= '&version_full='.urlencode(DOL_VERSION);
$data .= '&versionblockedlog='.(float) getBlockedLogVersionToShow();
$data .= '&versionblockedlog_full='.urlencode(getBlockedLogVersionToShow());
$data .= '&entity='.(int) $conf->entity;
$data .= '&lastrowid='.(int) $id;

View file

@ -3170,6 +3170,8 @@ function printCodeForPing($constanttosavelastko, $constanttosavefirstok, $arrayo
hash_unique_id: '<?php echo dol_escape_js($hash_unique_id); ?>',
version: '<?php echo (float) DOL_VERSION; ?>',
version_full: '<?php echo DOL_VERSION; ?>',
versionblockedlog: '<?php echo (float) getBlockedLogVersionToShow(); ?>',
versionblockedlog_full: '<?php echo getBlockedLogVersionToShow(); ?>',
entity: '<?php echo (int) $conf->entity; ?>',
dbtype: '<?php echo dol_escape_js($db->type); ?>',
php_version: '<?php echo dol_escape_js(phpversion()); ?>',