dir::niceSize

Returns a nicely formatted size of all the contents of the folder

dir::niceSize($dir)

Parameters

$dir (string)
The path of the directory
$recursive (boolean)

Return values

mixed