mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:00:12 +01:00
after setting user prefs go to search page
This commit is contained in:
parent
ae054320d6
commit
c3d95332c2
@ -107,7 +107,7 @@ $config['ENABLE_REMOTE_IMAGES'] = '0';
|
|||||||
$config['ENABLE_ON_THE_FLY_VERIFICATION'] = 1;
|
$config['ENABLE_ON_THE_FLY_VERIFICATION'] = 1;
|
||||||
$config['ENABLE_LDAP_IMPORT_FEATURE'] = 0;
|
$config['ENABLE_LDAP_IMPORT_FEATURE'] = 0;
|
||||||
$config['ENABLE_FOLDER_RESTRICTIONS'] = 0;
|
$config['ENABLE_FOLDER_RESTRICTIONS'] = 0;
|
||||||
$config['SEARCH_RESULT_CHECKBOX_CHECKED'] = 1;
|
$config['SEARCH_RESULT_CHECKBOX_CHECKED'] = 0;
|
||||||
$config['HELPER_URL'] = '';
|
$config['HELPER_URL'] = '';
|
||||||
$config['ENABLE_SYSLOG'] = 1;
|
$config['ENABLE_SYSLOG'] = 1;
|
||||||
$config['REWRITE_MESSAGE_ID'] = 0;
|
$config['REWRITE_MESSAGE_ID'] = 0;
|
||||||
|
@ -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']);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user