Update LogViewer.php
This commit is contained in:
parent
a59d1eb588
commit
2ed3d0a624
|
@ -192,7 +192,7 @@ class LogViewer
|
|||
|
||||
public function isCurrentFile($file)
|
||||
{
|
||||
return $this->replaceBasePath($this->getFilePath()) === rtrim($this->currentDirectory.'/'.$file, '/');
|
||||
return $this->replaceBasePath($this->getFilePath()) === trim($this->currentDirectory.'/'.$file, '/');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user