diff --git a/webui/config.php b/webui/config.php index c7301dbd..29fb184c 100644 --- a/webui/config.php +++ b/webui/config.php @@ -107,7 +107,7 @@ $config['ENABLE_REMOTE_IMAGES'] = '0'; $config['ENABLE_ON_THE_FLY_VERIFICATION'] = 1; $config['ENABLE_LDAP_IMPORT_FEATURE'] = 0; $config['ENABLE_FOLDER_RESTRICTIONS'] = 0; -$config['SEARCH_RESULT_CHECKBOX_CHECKED'] = 1; +$config['SEARCH_RESULT_CHECKBOX_CHECKED'] = 0; $config['HELPER_URL'] = ''; $config['ENABLE_SYSLOG'] = 1; $config['REWRITE_MESSAGE_ID'] = 0; diff --git a/webui/controller/user/settings.php b/webui/controller/user/settings.php index 0382d624..92324258 100644 --- a/webui/controller/user/settings.php +++ b/webui/controller/user/settings.php @@ -48,7 +48,12 @@ class ControllerUserSettings extends Controller { AUDIT(ACTION_CHANGE_USER_SETTINGS, '', '', '', 'pagelen:' . $this->request->post['pagelen'] . ', theme:' . $this->request->post['theme'] . ', lang:' . $this->request->post['lang']); - Header("Location: settings.php"); + if(isAdminUser() == 1) { + header("Location: " . SITE_URL . "index.php?route=health/health"); + return; + } + + header("Location: " . SITE_URL . "search.php"); return; }