Removed , from numer format

This commit is contained in:
marcos.alconada 2019-06-10 16:59:05 +02:00
parent 58ba42cec1
commit a40e420de0
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ function get_status_logs($path)
{
$status_server_log = '';
$size_server_log = number_format(get_logs_size($path));
$size_server_log = ($size_server_log / 1024);
if ($size_server_log <= 10.485760) {
$size_server_log = (0 + str_replace(',', '', $size_server_log));
if ($size_server_log <= 10485760) {
$status_server_log = "<a style ='color: green;text-decoration: none;'>Normal Status</a><a style ='text-decoration: none;'>&nbsp&nbsp You have less than 10 MB of logs</a>";
} else {
$status_server_log = "<a class= 'content' style= 'color: red;text-decoration: none;'>Warning Status</a><a style ='text-decoration: none;'>&nbsp&nbsp You have more than 10 MB of logs</a>";