src build elFinder-2.1-fa9f999

This commit is contained in:
nao-pon
2019-12-30 23:34:00 +09:00
parent 964dc19a32
commit 530f07ca37
6 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -1384,7 +1384,8 @@ class elFinderVolumeBox extends elFinderVolumeDriver
$cache['height'] = $size[1];
$ret = array('dim' => $size[0] . 'x' . $size[1]);
$srcfp = fopen($work, 'rb');
if ($subImgLink = $this->getSubstituteImgLink(elFinder::$currentArgs['target'], $size, $srcfp)) {
$target = isset(elFinder::$currentArgs['target'])? elFinder::$currentArgs['target'] : '';
if ($subImgLink = $this->getSubstituteImgLink($target, $size, $srcfp)) {
$ret['url'] = $subImgLink;
}
}