summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 9867d801..84a44474 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -281,11 +281,16 @@ function SDI($msg="SDI") { echo "DEBUG INFO: $msg ".BR; } // DEBUG INFO!!!
$u="M";
$value=$value/(1024*1024);
}
- else
+ else if($abs<1024*1024*1024*1024)
{
$u="G";
$value=$value/(1024*1024*1024);
}
+ else
+ {
+ $u="T";
+ $value=$value/(1024*1024*1024*1024);
+ }
if(round($value)==$value)
{