Fix malformed logging in exception

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
kdslkdsaldsal 2017-02-15 09:50:36 +01:00 committed by Morris Jobke
parent 528a903a7b
commit fc57d4b96c
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 1 additions and 1 deletions

View File

@ -2068,7 +2068,7 @@ class View {
$parts = explode('/', trim($path, '/'), 3);
// "$user", "files", "path/to/dir"
if (!isset($parts[1]) || $parts[1] !== 'files') {
throw new \InvalidArgumentException('$absolutePath must be relative to "files"');
throw new \InvalidArgumentException('"' . $absolutePath . '" must be relative to "files"');
}
if (isset($parts[2])) {
return $parts[2];