File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 279279
280280 // Update debug mode status
281281 if (empty ($ _SESSION ['error_msg ' ])) {
282+ if ($ _POST ['v_debug_mode ' ] == 'on ' ) { $ _POST ['v_debug_mode ' ] = 'true ' ; } else { $ _POST ['v_debug_mode ' ] = 'false ' ; }
282283 if ($ _POST ['v_debug_mode ' ] != $ _SESSION ['DEBUG_MODE ' ]) {
283- if ($ _POST ['v_debug_mode ' ] == 'on ' ) { $ _POST ['v_debug_mode ' ] = 'true ' ; } else { $ _POST ['v_debug_mode ' ] = 'false ' ; }
284284 exec (HESTIA_CMD ."v-change-sys-config-value DEBUG_MODE " .escapeshellarg ($ _POST ['v_debug_mode ' ]), $ output , $ return_var );
285285 check_return_code ($ return_var ,$ output );
286286 unset($ output );
300300
301301 // Update experimental features status
302302 if (empty ($ _SESSION ['error_msg ' ])) {
303+ if ($ _POST ['v_experimental_features ' ] == 'on ' ) { $ _POST ['v_experimental_features ' ] = 'true ' ; } else { $ _POST ['v_experimental_features ' ] = 'false ' ; }
303304 if ($ _POST ['v_experimental_features ' ] != $ _SESSION ['POLICY_SYSTEM_ENABLE_BACON ' ]) {
304- if ($ _POST ['v_experimental_features ' ] == 'on ' ) { $ _POST ['v_experimental_features ' ] = 'true ' ; } else { $ _POST ['v_experimental_features ' ] = 'false ' ; }
305305 exec (HESTIA_CMD ."v-change-sys-config-value POLICY_SYSTEM_ENABLE_BACON " .escapeshellarg ($ _POST ['v_experimental_features ' ]), $ output , $ return_var );
306306 check_return_code ($ return_var ,$ output );
307307 unset($ output );
Original file line number Diff line number Diff line change 11601160 </ tr >
11611161 < tr >
11621162 < td >
1163- < select class ="vst-list " name ="v_policy_user_edit_web_templates ">
1163+ < select class ="vst-list " name ="v_policy_user_edit_dns_templates ">
11641164 < option value ='yes ' < ?php if($_SESSION['POLICY_USER_EDIT_DNS_TEMPLATES'] !== 'no') echo 'selected' ?> > < ?=_('yes'); ?> </ option >
11651165 < option value ='no ' < ?php if($_SESSION['POLICY_USER_EDIT_DNS_TEMPLATES'] == 'no') echo 'selected' ?> > < ?=_('no'); ?> </ option >
11661166 </ select >
You can’t perform that action at this time.
0 commit comments