Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon Brock <okay19@users.noreply.github.com>2017-03-18 00:05:20 +0300
committerStefan Giehl <stefan@piwik.org>2017-03-18 00:05:20 +0300
commitc488e33605c183cf3f73d1ac5716438951b39d52 (patch)
tree8f02aca9a50be53d58a254c364cc280c0038a7e7 /plugins
parent1874dd07c3b2f238b1f9e58797894523ab566934 (diff)
Add system check for the hash() function (#11455)
* Add system check for the hash() function * Update expected screenshot for hash() system check
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Diagnostics/Diagnostic/PhpFunctionsCheck.php2
-rw-r--r--plugins/Installation/lang/en.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Diagnostics/Diagnostic/PhpFunctionsCheck.php b/plugins/Diagnostics/Diagnostic/PhpFunctionsCheck.php
index 26e30326be..736fc73877 100644
--- a/plugins/Diagnostics/Diagnostic/PhpFunctionsCheck.php
+++ b/plugins/Diagnostics/Diagnostic/PhpFunctionsCheck.php
@@ -59,6 +59,7 @@ class PhpFunctionsCheck implements Diagnostic
'debug_backtrace',
'create_function',
'eval',
+ 'hash',
'gzcompress',
'gzuncompress',
'pack',
@@ -101,6 +102,7 @@ class PhpFunctionsCheck implements Diagnostic
'debug_backtrace' => 'Installation_SystemCheckDebugBacktraceHelp',
'create_function' => 'Installation_SystemCheckCreateFunctionHelp',
'eval' => 'Installation_SystemCheckEvalHelp',
+ 'hash' => 'Installation_SystemCheckHashHelp',
'gzcompress' => 'Installation_SystemCheckGzcompressHelp',
'gzuncompress' => 'Installation_SystemCheckGzuncompressHelp',
'pack' => 'Installation_SystemCheckPackHelp',
diff --git a/plugins/Installation/lang/en.json b/plugins/Installation/lang/en.json
index 6e13414628..131b40a2a1 100644
--- a/plugins/Installation/lang/en.json
+++ b/plugins/Installation/lang/en.json
@@ -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.",
"SystemCheckGzcompressHelp": "You need to enable the zlib extension and gzcompress 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.",
"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().",
@@ -144,4 +145,4 @@
"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."
}
-} \ No newline at end of file
+}