mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Changed code for conversión
This commit is contained in:
parent
55db61bfae
commit
58ba42cec1
@ -140,6 +140,7 @@ function get_status_logs($path)
|
|||||||
{
|
{
|
||||||
$status_server_log = '';
|
$status_server_log = '';
|
||||||
$size_server_log = number_format(get_logs_size($path));
|
$size_server_log = number_format(get_logs_size($path));
|
||||||
|
$size_server_log = ($size_server_log / 1024);
|
||||||
if ($size_server_log <= 10.485760) {
|
if ($size_server_log <= 10.485760) {
|
||||||
$status_server_log = "<a style ='color: green;text-decoration: none;'>Normal Status</a><a style ='text-decoration: none;'>   You have less than 10 MB of logs</a>";
|
$status_server_log = "<a style ='color: green;text-decoration: none;'>Normal Status</a><a style ='text-decoration: none;'>   You have less than 10 MB of logs</a>";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user