mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 01:22:26 +01:00 
			
		
		
		
	after setting user prefs go to search page
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
| @@ -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