Fixed database size usage and disk usage output on the info pages
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [1.9.6.rpm] - Release
|
||||
|
||||
- Fix error on all web and mail domains after Apache 2.4.64 update
|
||||
- Fix error on local php installation and extension activation
|
||||
- Added templates for nginx mod_rewrite activation
|
||||
- Added nginx with mod_rewrite
|
||||
- Fixed database size usage and disk usage output on the info pages
|
||||
|
||||
## [1.9.5.rpm] - Release
|
||||
|
||||
- Added support installation of alternative php not only remi
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
Name: hestia
|
||||
Version: 1.9.6
|
||||
Release: 5%{dist}
|
||||
Release: 6%{dist}
|
||||
Summary: Hestia Control Panel
|
||||
Group: System Environment/Base
|
||||
License: GPLv3
|
||||
@@ -184,6 +184,9 @@ fi
|
||||
%{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%changelog
|
||||
* Thu Mar 26 2026 Alexey Berezhok <a@bayrepo.ru> - 1.9.6-6
|
||||
- Fixed database size usage and disk usage output on the info pages
|
||||
|
||||
* Thu Mar 19 2026 Alexey Berezhok <a@bayrepo.ru> - 1.9.6-5
|
||||
- Added nginx with mod_rewrite
|
||||
- Added templates for nginx mod_rewrite activation
|
||||
|
||||
@@ -4,13 +4,17 @@ $TAB = "DB";
|
||||
// Main include
|
||||
include $_SERVER["DOCUMENT_ROOT"] . "/inc/main.php";
|
||||
|
||||
//Update data before $output
|
||||
exec(HESTIA_CMD . "v-update-databases-disk $user", $output, $return_var);
|
||||
unset($output);
|
||||
|
||||
// Data
|
||||
exec(HESTIA_CMD . "v-list-databases $user json", $output, $return_var);
|
||||
$data = json_decode(implode("", $output), true);
|
||||
if ($_SESSION["userSortOrder"] == "name") {
|
||||
ksort($data);
|
||||
ksort($data);
|
||||
} else {
|
||||
$data = array_reverse($data, true);
|
||||
$data = array_reverse($data, true);
|
||||
}
|
||||
unset($output);
|
||||
|
||||
|
||||
@@ -4,13 +4,25 @@ $TAB = "WEB";
|
||||
// Main include
|
||||
include $_SERVER["DOCUMENT_ROOT"] . "/inc/main.php";
|
||||
|
||||
//Update data before output
|
||||
exec(HESTIA_CMD . "v-update-web-domains-disk " . $user, $output, $return_var);
|
||||
unset($output);
|
||||
exec(HESTIA_CMD . "v-update-web-domains-stat " . $user, $output, $return_var);
|
||||
unset($output);
|
||||
exec(HESTIA_CMD . "v-update-web-domains-traff " . $user, $output, $return_var);
|
||||
unset($output);
|
||||
|
||||
// Data
|
||||
exec(HESTIA_CMD . "v-list-web-domains " . $user . " 'json'", $output, $return_var);
|
||||
exec(
|
||||
HESTIA_CMD . "v-list-web-domains " . $user . " 'json'",
|
||||
$output,
|
||||
$return_var,
|
||||
);
|
||||
$data = json_decode(implode("", $output), true);
|
||||
if ($_SESSION["userSortOrder"] == "name") {
|
||||
ksort($data);
|
||||
ksort($data);
|
||||
} else {
|
||||
$data = array_reverse($data, true);
|
||||
$data = array_reverse($data, true);
|
||||
}
|
||||
$ips = json_decode(shell_exec(HESTIA_CMD . "v-list-sys-ips json"), true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user