src build elFinder-2.1-3ea7d35

This commit is contained in:
nao-pon
2016-11-14 17:43:02 +09:00
parent c1aaf0edd7
commit 287ee7b5d1
8 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -1245,7 +1245,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$stat['path'] = $this->path($stat['hash']);
if ($this->URL && !isset($stat['url'])) {
$_path = str_replace(DIRECTORY_SEPARATOR, '/', substr($p, strlen($this->root) + 1));
$stat['url'] = $this->URL . $_path;
$stat['url'] = $this->URL . str_replace('%2F', '/', rawurlencode($_path));
}
$result[] = $stat;