We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b05ce commit 9ebbc2bCopy full SHA for 9ebbc2b
web/edit/server/index.php
@@ -757,6 +757,11 @@
757
exec (HESTIA_CMD."v-change-sys-config-value POLICY_USER_CHANGE_THEME ".escapeshellarg($_POST['v_policy_user_change_theme']), $output, $return_var);
758
check_return_code($return_var,$output);
759
unset($output);
760
+ if ($_POST['v_policy_user_change_theme']) {
761
+ unset ($_SESSION['userTheme']);
762
+ $refresh = $_SERVER['REQUEST_URI'];
763
+ header("Location: $refresh");
764
+ }
765
if (empty($_SESSION['error_msg'])) $v_policy_user_change_theme = $_POST['v_policy_user_change_theme'];
766
}
767
0 commit comments