From c0f9fcd46bbc67d7ecc6f991a465a1cd51f2cdba Mon Sep 17 00:00:00 2001 From: Krava Date: Thu, 16 Jun 2016 15:49:26 +0200 Subject: [PATCH] Fixed bug in method ElFinder::genPathHash() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Не работает [startPath](https://github.com/MihailDev/yii2-elfinder/blob/master/ElFinder.php#L73) из-за этого бага. То ли это опечатка, то ли намеренно сделано, но volume написан неверно. https://github.com/MihailDev/yii2-elfinder/blob/master/ElFinder.php#L53 --- ElFinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElFinder.php b/ElFinder.php index ee39357..2dde54a 100644 --- a/ElFinder.php +++ b/ElFinder.php @@ -50,7 +50,7 @@ public static function genPathHash($path) $volume = 1; } $hash = rtrim(strtr(base64_encode($path), '+/=', '-_.'), '.'); - return 'elf_l' . $volume .'_' . $hash; + return 'elf_fls' . $volume .'_' . $hash; } public static function getManagerUrl($controller, $params = [])