|
|
@@ -288,6 +288,17 @@ if (!empty($_POST['save'])) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // Update experimental features status
|
|
|
+ if (empty($_SESSION['error_msg'])) {
|
|
|
+ if ($_POST['v_experimental_features'] != $_SESSION['POLICY_SYSTEM_ENABLE_JETSKIS']) {
|
|
|
+ if ($_POST['v_experimental_features'] == 'on') { $_POST['v_experimental_features'] = 'true'; } else { $_POST['v_experimental_features'] = 'false'; }
|
|
|
+ exec (HESTIA_CMD."v-change-sys-config-value POLICY_SYSTEM_ENABLE_JETSKIS ".escapeshellarg($_POST['v_experimental_features']), $output, $return_var);
|
|
|
+ check_return_code($return_var,$output);
|
|
|
+ unset($output);
|
|
|
+ $v_debug_mode_adv = 'yes';
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// Set File Manager support
|
|
|
if (empty($_SESSION['error_msg'])) {
|
|
|
if ((!empty($_POST['v_filemanager'])) && ($_SESSION['FILE_MANAGER'] != $_POST['v_filemanager'])) {
|