mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
after setting user prefs go to search page
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user