Location: PHPKode > projects > PHPExplorer > modules/dirsize.php
<?
require_once("../include/varsfuncs.php");

if(!$dirname||!is_dir($dirname)){ 
 include("$instp/skins/$sk/_pl_dirsize_error.php");
exit();}

$size = dirsize($dirname);
$unit = "Oct";

if($size>1000){ $size=$size/1000; $unit="Ko"; }
if($size>1000){ $size=$size/1000; $unit="Mo"; }
if($size>1000){ $size=$size/1000; $unit="Go"; }

 include("$instp/skins/$sk/_pl_dirsize.php");

?>
Return current item: PHPExplorer