mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Fixed server.log created in two different places on path changed
This commit is contained in:
parent
b6c0eb8c96
commit
2f6007342c
@ -45,7 +45,7 @@ class MainLogger extends \AttachableThreadedLogger{
|
||||
throw new \RuntimeException("MainLogger has been already created");
|
||||
}
|
||||
static::$logger = $this;
|
||||
touch(basename($logFile));
|
||||
touch($logFile);
|
||||
$this->logFile = $logFile;
|
||||
$this->hasANSI = (bool) $hasANSI;
|
||||
$this->logDebug = (bool) $logDebug;
|
||||
|
Loading…
x
Reference in New Issue
Block a user