Fixed a bug in CrashDump

@xxFlare really?
This commit is contained in:
Dylan K. Taylor 2017-01-25 17:36:40 +00:00
parent 3ab9722a9f
commit 09a6776674

View File

@ -41,7 +41,7 @@ class CrashDump{
public function __construct(Server $server){
$this->time = time();
$this->server = $server;
if(!is_dir($this->server->getDataPath()) . "crashdumps"){
if(!is_dir($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";