Fix missing HASHIDS_SALT setting in app setup command, closes #724

This commit is contained in:
Dane Everitt 2017-11-05 12:58:25 -06:00
parent 4898d4f9d2
commit a4cf06ba77
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 8 additions and 3 deletions

View file

@ -20,7 +20,7 @@ if (! function_exists('human_readable')) {
$i = 0;
while (($path / 1024) > 0.9) {
$path = $path / 1024;
$i++;
++$i;
}
return round($path, $precision) . ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'][$i];