mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
SendUsageTask: fixed php_uname() call with invalid mode
this now throws in PHP 8.4. Previously it returned the same as php_uname(a). Presumably the intent was to capture the CPU arch and not a repeat of the machine field. closes #6811
This commit is contained in:
@@ -88,7 +88,7 @@ class SendUsageTask extends AsyncTask{
|
||||
"phpVersion" => PHP_VERSION,
|
||||
"machine" => php_uname("a"),
|
||||
"release" => php_uname("r"),
|
||||
"platform" => php_uname("i")
|
||||
"platform" => php_uname("m")
|
||||
];
|
||||
|
||||
$data["players"] = [
|
||||
|
Reference in New Issue
Block a user