Skip to content

Commit

Permalink
Fixed bug in method ElFinder::genPathHash()
Browse files Browse the repository at this point in the history
Не работает [startPath](https://github.com/MihailDev/yii2-elfinder/blob/master/ElFinder.php#L73) из-за этого бага.
То ли это опечатка, то ли намеренно сделано, но volume написан неверно.

https://github.com/MihailDev/yii2-elfinder/blob/master/ElFinder.php#L53
  • Loading branch information
Kravalg authored Jun 16, 2016
1 parent 25574c3 commit c0f9fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
Expand Down

0 comments on commit c0f9fcd

Please sign in to comment.