mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Fixed rcon password being shown
This commit is contained in:
parent
2e773a32ff
commit
2448405e3a
@ -104,7 +104,7 @@ class CrashDump{
|
||||
global $arguments;
|
||||
$this->data["parameters"] = (array) $arguments;
|
||||
$this->data["server.properties"] = @file_get_contents($this->server->getDataPath() . "server.properties");
|
||||
$this->data["server.properties"] = preg_replace("#^rcon\\.password=(.*)$#", "rcon.password=******", $this->data["server.properties"]);
|
||||
$this->data["server.properties"] = preg_replace("#^rcon\\.password=(.*)$#m", "rcon.password=******", $this->data["server.properties"]);
|
||||
$this->data["pocketmine.yml"] = @file_get_contents($this->server->getDataPath() . "pocketmine.yml");
|
||||
$extensions = [];
|
||||
foreach(get_loaded_extensions() as $ext){
|
||||
|
Loading…
x
Reference in New Issue
Block a user