Fixed passenger installation

This commit is contained in:
Alexey Berezhok
2025-01-02 17:18:21 +03:00
parent 56fab11941
commit dba200787f
5 changed files with 32 additions and 10 deletions

View File

@@ -14,6 +14,11 @@ if ($_SESSION["userContext"] != "admin") {
exec(HESTIA_CMD . "v-ext-modules list json", $output, $return_var);
$data = json_decode(implode("", $output), true);
ksort($data);
$error_message = "";
if (!empty($_SESSION["error_msg"])){
$error_message = $_SESSION["error_msg"];
$_SESSION["error_msg"] = "";
}
unset($output);