N°942 use expression in SetupUtils constant as this is allowed since PHP 5.6.0 and it is the new required version for iTop 2.5 (see http://php.net/manual/en/language.oop5.constants.php)

SVN:trunk[5351]
This commit is contained in:
Pierre Goiffon
2018-02-21 16:35:19 +00:00
parent 03f9a9fcac
commit 5d808992e6

View File

@@ -58,7 +58,7 @@ class SetupUtils
// -- First recent version that is not yet validated by Combodo (warning)
const PHP_NOT_VALIDATED_VERSION = '7.2.0';
const MIN_MEMORY_LIMIT = 33554432; // = 32*1024*1024 Beware: Computations are not allowed in defining constants
const MIN_MEMORY_LIMIT = 32 * 1024 * 1024;
const SUHOSIN_GET_MAX_VALUE_LENGTH = 2048;
/**