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
Deprecated: [2015-05-21] use cDirHandler::getDirectorySize
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Willi Man
Author: Timo Trautmann
Located at includes/functions.file.php
Deprecated: [2015-05-21] use cDirHandler::getDirectorySize
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Willi Man
Author: 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 |
integer|boolean
|
false in case of an error or the size |