diff --git a/CHANGELOG.md b/CHANGELOG.md index c247cc8..9d69c13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/rpm/hestia/hestia.spec b/src/rpm/hestia/hestia.spec index af1cf1c..9edf841 100644 --- a/src/rpm/hestia/hestia.spec +++ b/src/rpm/hestia/hestia.spec @@ -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 - 1.9.6-6 +- Fixed database size usage and disk usage output on the info pages + * Thu Mar 19 2026 Alexey Berezhok - 1.9.6-5 - Added nginx with mod_rewrite - Added templates for nginx mod_rewrite activation diff --git a/web/list/db/index.php b/web/list/db/index.php index 4d845e5..a57c415 100644 --- a/web/list/db/index.php +++ b/web/list/db/index.php @@ -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); diff --git a/web/list/web/index.php b/web/list/web/index.php index b5b7155..f2167f8 100644 --- a/web/list/web/index.php +++ b/web/list/web/index.php @@ -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);