Commit 5c41c63f authored by Richard Weinhold's avatar Richard Weinhold 🎩

fixs self-referencing directory paths in Path-Helper

- paths ending with [paht]/. are now resolved for directory-basename in
  Path-Helper
parent a4fc59cc
Pipeline #5415 passed with stages
in 24 seconds
......@@ -235,6 +235,11 @@ class Path
$this->extension = null;
$this->filename = null;
$this->basename = $this->fileInfo->getBasename();
// resolve self-referencing paths
if ($this->basename === '.') {
$this->basename = basename($this->real);
}
}
$this->loaded = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment