mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed a bug in CrashDump
@xxFlare really?
This commit is contained in:
parent
3ab9722a9f
commit
09a6776674
@ -41,7 +41,7 @@ class CrashDump{
|
|||||||
public function __construct(Server $server){
|
public function __construct(Server $server){
|
||||||
$this->time = time();
|
$this->time = time();
|
||||||
$this->server = $server;
|
$this->server = $server;
|
||||||
if(!is_dir($this->server->getDataPath()) . "crashdumps"){
|
if(!is_dir($this->server->getDataPath() . "crashdumps")){
|
||||||
mkdir($this->server->getDataPath() . "crashdumps");
|
mkdir($this->server->getDataPath() . "crashdumps");
|
||||||
}
|
}
|
||||||
$this->path = $this->server->getDataPath() . "crashdumps/" . date("D_M_j-H.i.s-T_Y", $this->time) . ".log";
|
$this->path = $this->server->getDataPath() . "crashdumps/" . date("D_M_j-H.i.s-T_Y", $this->time) . ".log";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user