[VD] fix argument of elFinderVolumeDriver::path() that must give "hash"

This commit is contained in:
nao-pon
2015-10-04 00:10:19 +09:00
parent 88a71ceca6
commit a9cefb3f6a
2 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -1063,7 +1063,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$name = $stat['name'];
if ((!$mimes || $stat['mime'] !== 'directory')) {
$stat['path'] = $this->path($p);
$stat['path'] = $this->path($stat['hash']);
if ($this->URL && !isset($stat['url'])) {
$path = str_replace(DIRECTORY_SEPARATOR, '/', substr($p, strlen($this->root) + 1));
if ($this->encoding) {