src build elFinder-2.1-7595424

This commit is contained in:
nao-pon
2020-01-02 15:44:22 +09:00
parent aace2add1a
commit 340f604518
8 changed files with 191 additions and 57 deletions
+2 -1
View File
@@ -1105,7 +1105,8 @@ class elFinderVolumeDropbox2 extends elFinderVolumeDriver
if ($size) {
$ret = array('dim' => $size[0] . 'x' . $size[1]);
$srcfp = fopen($tmp, '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;
}
}