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:
authorLukas Winkler <git@lw1.at>2021-03-21 23:50:03 +0300
committerGitHub <noreply@github.com>2021-03-21 23:50:03 +0300
commitd01a55eb92fa92099ffc94cc799e58cb853a5965 (patch)
tree19dc8f132027d444286f51395e688d5d9525da36 /plugins/Diagnostics
parent9a9e57b2d5a60dee61bf5496067595f2d6f21a6f (diff)
check for filter, hash and session php extensions (#17363)
* check for filter, hash and session php extensions * use single quotes * update expected screenshots Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'plugins/Diagnostics')
-rw-r--r--plugins/Diagnostics/Diagnostic/PhpExtensionsCheck.php6
-rw-r--r--plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png4
2 files changed, 8 insertions, 2 deletions
diff --git a/plugins/Diagnostics/Diagnostic/PhpExtensionsCheck.php b/plugins/Diagnostics/Diagnostic/PhpExtensionsCheck.php
index 51bdc42d78..e5b5f654b8 100644
--- a/plugins/Diagnostics/Diagnostic/PhpExtensionsCheck.php
+++ b/plugins/Diagnostics/Diagnostic/PhpExtensionsCheck.php
@@ -64,6 +64,9 @@ class PhpExtensionsCheck implements Diagnostic
'json',
'mbstring',
'Reflection',
+ 'filter',
+ 'hash',
+ 'session',
);
return $requiredExtensions;
@@ -78,6 +81,9 @@ class PhpExtensionsCheck implements Diagnostic
'json' => 'Installation_SystemCheckWarnJsonHelp',
'mbstring' => 'Installation_SystemCheckMbstringHelp',
'Reflection' => 'Required extension that is built in PHP, see http://www.php.net/manual/en/book.reflection.php',
+ 'filter' => 'Installation_SystemCheckFilterHelp',
+ 'hash' => 'Installation_SystemCheckHashHelp',
+ 'session' => 'Installation_SystemCheckSessionHelp'
);
return $this->translator->translate($messages[$missingExtension]);
diff --git a/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png b/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png
index e4bee09a59..04d4a6bf7a 100644
--- a/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png
+++ b/plugins/Diagnostics/tests/UI/expected-screenshots/Diagnostics_page.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4ada32d101322f25d0d3d9a100c92dd0a88c82475bb2a4fce676485672315ed9
-size 422307
+oid sha256:372272c077b0e12ee89e9a27f82cedb0a195e7dbb7254892f7a3bf909e64f92d
+size 425284