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:
authormattab <matthieu.aubry@gmail.com>2015-08-05 20:28:33 +0300
committermattab <matthieu.aubry@gmail.com>2015-08-05 20:28:33 +0300
commitbc9bf7c3bbc365caecaf79b6a3bf97185a132db8 (patch)
tree9ea239b4d5e6f33805b5bbe77c18e06847278a9c
parent53985a069d6a8d701531c4522b9d9dd1519c6996 (diff)
Fix notice "Notice - Undefined index: shell_exec" reported in http://forum.piwik.org/read.php?2,128520
-rw-r--r--plugins/Diagnostics/Diagnostic/RecommendedFunctionsCheck.php1
-rw-r--r--plugins/Installation/lang/en.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Diagnostics/Diagnostic/RecommendedFunctionsCheck.php b/plugins/Diagnostics/Diagnostic/RecommendedFunctionsCheck.php
index a346722c3e..e89cf2e290 100644
--- a/plugins/Diagnostics/Diagnostic/RecommendedFunctionsCheck.php
+++ b/plugins/Diagnostics/Diagnostic/RecommendedFunctionsCheck.php
@@ -63,6 +63,7 @@ class RecommendedFunctionsCheck implements Diagnostic
private function getHelpMessage($function)
{
$messages = array(
+ 'shell_exec' => 'Installation_SystemCheckFunctionHelp',
'set_time_limit' => 'Installation_SystemCheckTimeLimitHelp',
'mail' => 'Installation_SystemCheckMailHelp',
'parse_ini_file' => 'Installation_SystemCheckParseIniFileHelp',
diff --git a/plugins/Installation/lang/en.json b/plugins/Installation/lang/en.json
index 98e7ad4bf2..049d191fb4 100644
--- a/plugins/Installation/lang/en.json
+++ b/plugins/Installation/lang/en.json
@@ -73,6 +73,7 @@
"SystemCheckExtensions": "Other required extensions",
"SystemCheckFileIntegrity": "File integrity",
"SystemCheckFunctions": "Required functions",
+ "SystemCheckFunctionHelp": "You need to enable this built-in function.",
"SystemCheckGDFreeType": "GD > 2.x + Freetype (graphics)",
"SystemCheckGDHelp": "The sparklines (small graphs) and image graphs (in Piwik Mobile app and Email reports) will not work.",
"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.",