mirror of
https://github.com/Findus23/matomo-DiagnosticsExtended.git
synced 2024-09-19 16:03:46 +02:00
parent
addeff712a
commit
670b0bf62d
3 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
## Changelog
|
||||
|
||||
### 0.1.6
|
||||
|
||||
skip user check if `posix_getuid()` doesn't exist
|
||||
|
||||
### 0.1.5
|
||||
|
||||
fix a warning when `opcache_get_status()` is not allowed
|
||||
|
|
|
@ -36,7 +36,7 @@ class PhpUserCheck implements Diagnostic
|
|||
*/
|
||||
public function execute()
|
||||
{
|
||||
if (SettingsServer::isWindows()) {
|
||||
if (SettingsServer::isWindows()|| !function_exists("posix_getuid")) {
|
||||
return [];
|
||||
}
|
||||
if (posix_getuid() === 0) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "DiagnosticsExtended",
|
||||
"description": "Additional checks for the System Check",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"theme": false,
|
||||
"require": {
|
||||
"matomo": ">=4.2.0,<5.0.0-b1"
|
||||
|
|
Loading…
Reference in a new issue