mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-30 20:51:22 +00:00 
			
		
		
		
	if SEEDDMS_CONFIG_FILE is set, it will be passed to Settings()
This commit is contained in:
		
							parent
							
								
									4fc91fdc27
								
							
						
					
					
						commit
						abed5d1023
					
				|  | @ -47,7 +47,10 @@ if (file_exists("../inc/inc.Settings.old.php")) { | |||
| } | ||||
| 
 | ||||
| require_once('inc.ClassSettings.php'); | ||||
| $settings = new Settings(); | ||||
| if(defined("SEEDDMS_CONFIG_FILE")) | ||||
| 	$settings = new Settings(SEEDDMS_CONFIG_FILE); | ||||
| else | ||||
| 	$settings = new Settings(); | ||||
| if(!defined("SEEDDMS_INSTALL") && file_exists(dirname($settings->_configFilePath)."/ENABLE_INSTALL_TOOL")) { | ||||
| 	die("SeedDMS won't run unless your remove the file ENABLE_INSTALL_TOOL from your configuration directory."); | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann