mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
		
						commit
						e8d1369fad
					
				|  | @ -218,6 +218,8 @@ | |||
|   previous versions | ||||
| - search hits in typeahead search are now links to the folder/document. | ||||
|   Only the first item in the list still opens the search page. | ||||
| - make sure encryption key is always, prevents error when settings are | ||||
|   first saved and encryption key was not set initially | ||||
| 
 | ||||
| -------------------------------------------------------------------------------- | ||||
|                      Changes in version 5.1.21 | ||||
|  |  | |||
|  | @ -29,6 +29,12 @@ if(!defined("SEEDDMS_INSTALL") && file_exists(dirname($settings->_configFilePath | |||
| 	die("SeedDMS won't run unless your remove the file ENABLE_INSTALL_TOOL from your configuration directory."); | ||||
| } | ||||
| 
 | ||||
| /* Set an encryption key if is not set */ | ||||
| if(!trim($settings->_encryptionKey)) { | ||||
| 	$settings->_encryptionKey = md5(uniqid()); | ||||
| 	$settings->save(); | ||||
| } | ||||
| 
 | ||||
| if(isset($settings->_extraPath)) | ||||
| 	ini_set('include_path', $settings->_extraPath. PATH_SEPARATOR .ini_get('include_path')); | ||||
| 
 | ||||
|  |  | |||
|  | @ -34,10 +34,6 @@ if (!$accessop->check_view_access($view, $_GET)) { | |||
| 	UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); | ||||
| } | ||||
| 
 | ||||
| /* Set an encryption key if is not set */ | ||||
| if(!trim($settings->_encryptionKey)) | ||||
| 	$settings->_encryptionKey = md5(uniqid()); | ||||
| 
 | ||||
| $users = $dms->getAllUsers($settings->_sortUsersInList); | ||||
| $groups = $dms->getAllGroups(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann