Fix cache jail to not duplicate slashes
This commit is contained in:
parent
aa821ecc00
commit
888ce4d4f9
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class CacheJail extends CacheWrapper {
|
|||
if ($path === '') {
|
||||
return $this->root;
|
||||
} else {
|
||||
return $this->root . '/' . $path;
|
||||
return $this->root . '/' . ltrim($path, '/');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue