Fixed passenger installation
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user