This commit is contained in:
Laurent Destailleur 2026-03-29 20:50:41 +02:00
parent 1b32fd27eb
commit 3ccbc3d942

View file

@ -314,7 +314,7 @@ $dolibarr_main_prod='1';
$dolibarr_main_restrict_os_commands='mariadb-dump, mariadb, mysqldump, mysql, pg_dump, pg_restore, clamdscan, clamdscan.exe';
// dolibarr_main_restrict_eval_methods
// ==================================
// ===================================
// A whitelist of functions and methods to restrict the commands you can execute in a custom calculated fields, like "computed fields" of
// extrafields or string conditions of extrafields.
// Default value: 'getDolGlobalString, getDolGlobalInt, getDolCurrency, getDolEntity, getDolDBType, fetchNoCompute, hasRight, isAdmin, isModEnabled, isStringVarMatching, abs, round, dol_now, preg_match'