Skip to content
Extraits de code Groupes Projets
Valider 9ece995a rédigé par Fil's avatar Fil
Parcourir les fichiers

correction compatibilite uniqid un seul argument.

parent 97c7e7ab
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -132,7 +132,10 @@ function creer_uniqid() { ...@@ -132,7 +132,10 @@ function creer_uniqid() {
if ($flag_mt_rand) $s = mt_rand(); if ($flag_mt_rand) $s = mt_rand();
if (!$s) $s = rand(); if (!$s) $s = rand();
return uniqid($s, 1); if ($GLOBALS['flag_uniqid2'])
return uniqid($s, 1);
else
return uniqid($s);
} }
......
...@@ -94,6 +94,7 @@ $flag_ignore_user_abort = ($php_version_maj > 3 OR $php_version_min >= 7); ...@@ -94,6 +94,7 @@ $flag_ignore_user_abort = ($php_version_maj > 3 OR $php_version_min >= 7);
$flag_levenshtein = ($php_version_maj >= 4); $flag_levenshtein = ($php_version_maj >= 4);
$flag_mt_rand = ($php_version_maj > 3 OR $php_version_min >= 6); $flag_mt_rand = ($php_version_maj > 3 OR $php_version_min >= 6);
$flag_str_replace = ($php_version_maj > 3 OR $php_version_min >= 8); $flag_str_replace = ($php_version_maj > 3 OR $php_version_min >= 8);
$flag_uniqid2 = ($php_version_maj > 3 OR $php_version_min >= 13);
$flag_strpos_3 = (@strpos('baba', 'a', 2) == 3); $flag_strpos_3 = (@strpos('baba', 'a', 2) == 3);
$flag_get_cfg_var = (@get_cfg_var('error_reporting') != ""); $flag_get_cfg_var = (@get_cfg_var('error_reporting') != "");
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter