Function getDirectorySize
Returns the size of a directory. AKA the combined filesizes of all files within it. Note that this function uses filesize(). There could be problems with files that are larger than 2GiB
Package: Core\Backend
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Willi Man, Timo Trautmann
Located at includes/functions.file.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Willi Man, Timo Trautmann
Located at includes/functions.file.php
string |
$sDirectory |
The directory |
boolean |
$bRecursive = false |
true if all the subdirectories should be included in the calculation |
boolean
|
int false in case of an error or the size |