Skip to content
Extraits de code Groupes Projets
Valider c488e336 rédigé par Dillon Brock's avatar Dillon Brock Validation de Stefan Giehl
Parcourir les fichiers

Add system check for the hash() function (#11455)

* Add system check for the hash() function

* Update expected screenshot for hash() system check
parent 1874dd07
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -59,6 +59,7 @@ class PhpFunctionsCheck implements Diagnostic ...@@ -59,6 +59,7 @@ class PhpFunctionsCheck implements Diagnostic
'debug_backtrace', 'debug_backtrace',
'create_function', 'create_function',
'eval', 'eval',
'hash',
'gzcompress', 'gzcompress',
'gzuncompress', 'gzuncompress',
'pack', 'pack',
...@@ -101,6 +102,7 @@ class PhpFunctionsCheck implements Diagnostic ...@@ -101,6 +102,7 @@ class PhpFunctionsCheck implements Diagnostic
'debug_backtrace' => 'Installation_SystemCheckDebugBacktraceHelp', 'debug_backtrace' => 'Installation_SystemCheckDebugBacktraceHelp',
'create_function' => 'Installation_SystemCheckCreateFunctionHelp', 'create_function' => 'Installation_SystemCheckCreateFunctionHelp',
'eval' => 'Installation_SystemCheckEvalHelp', 'eval' => 'Installation_SystemCheckEvalHelp',
'hash' => 'Installation_SystemCheckHashHelp',
'gzcompress' => 'Installation_SystemCheckGzcompressHelp', 'gzcompress' => 'Installation_SystemCheckGzcompressHelp',
'gzuncompress' => 'Installation_SystemCheckGzuncompressHelp', 'gzuncompress' => 'Installation_SystemCheckGzuncompressHelp',
'pack' => 'Installation_SystemCheckPackHelp', 'pack' => 'Installation_SystemCheckPackHelp',
......
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
"SystemCheckGlobHelp": "This built-in function has been disabled on your host. Piwik will attempt to emulate this function but may encounter further security restrictions. Functionality may be impacted.", "SystemCheckGlobHelp": "This built-in function has been disabled on your host. Piwik will attempt to emulate this function but may encounter further security restrictions. Functionality may be impacted.",
"SystemCheckGzcompressHelp": "You need to enable the zlib extension and gzcompress function.", "SystemCheckGzcompressHelp": "You need to enable the zlib extension and gzcompress function.",
"SystemCheckGzuncompressHelp": "You need to enable the zlib extension and gzuncompress function.", "SystemCheckGzuncompressHelp": "You need to enable the zlib extension and gzuncompress function.",
"SystemCheckHashHelp": "You need to configure and rebuild PHP with hash() support enabled by excluding the option --disable-hash.",
"SystemCheckIconvHelp": "You need to configure and rebuild PHP with \"iconv\" support enabled, --with-iconv.", "SystemCheckIconvHelp": "You need to configure and rebuild PHP with \"iconv\" support enabled, --with-iconv.",
"SystemCheckJsonHelp": "The php5-json extension is required for Piwik to read and write JSON data.", "SystemCheckJsonHelp": "The php5-json extension is required for Piwik to read and write JSON data.",
"SystemCheckMailHelp": "Feedback and Lost Password messages will not be sent without mail().", "SystemCheckMailHelp": "Feedback and Lost Password messages will not be sent without mail().",
...@@ -144,4 +145,4 @@ ...@@ -144,4 +145,4 @@
"CannotConnectToDb": "Cannot connect to the database", "CannotConnectToDb": "Cannot connect to the database",
"CannotConnectToDbResolvingExplanation": "This may be a temporary issue, try %1$srefreshing the page%2$s. If the problem persists please contact your Piwik administrator." "CannotConnectToDbResolvingExplanation": "This may be a temporary issue, try %1$srefreshing the page%2$s. If the problem persists please contact your Piwik administrator."
} }
} }
\ No newline at end of file
Le fichier a été supprimé par une entrée .gitattributes, ou son encodage n'est pas pris en charge.
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