Commit 0d097fc7 authored by Tino Goratsch's avatar Tino Goratsch

fix the output path for generated/resized pictures

parent 5f415f00
......@@ -140,7 +140,7 @@ class Output
public function getFileWeb(): string
{
return $this->appPath->getWebRoot() . \str_replace(ACP3_ROOT_DIR, '', $this->getFile());
return $this->appPath->getWebRoot() . \substr(\str_replace(ACP3_ROOT_DIR, '', $this->getFile()), 1);
}
public function getFile(): string
......
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