mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-26 08:05:44 -07:00
Added disk and bandwidth percentage values to the session response.
This commit is contained in:
parent
7d317c4fe8
commit
cae9a1550d
7 changed files with 21 additions and 3 deletions
|
@ -25,6 +25,8 @@ list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
|||
foreach ($data as $key => $value) {
|
||||
++$i;
|
||||
|
||||
$data[$key]['U_DISK_PERCENT'] = get_percentage($data[$key]['U_DISK'],$panel[$user]['DISK_QUOTA']);
|
||||
|
||||
if ( $i == 1) {
|
||||
$total_amount = __('1 database');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue