after setting user prefs go to search page

This commit is contained in:
SJ 2013-07-29 20:42:04 +02:00
parent ae054320d6
commit c3d95332c2
2 changed files with 7 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}