Added support for reading ini files from a (optional) config folder. This allows the spliting up of opensim.ini into multiple ini files.

The ini files in this folder are loaded after the masterini file (if that is set) and before opensim.ini. 
The default folder it looks for and searches is "bin\config", but that can be set by using the command arg "-inidirectory=<path>" (path is local to bin\) when starting up opensim.exe.
This commit is contained in:
MW
2009-02-27 14:17:57 +00:00
parent cddaaf3e13
commit b83d5c7cdb
2 changed files with 15 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ namespace OpenSim
configSource.AddSwitch("Startup", "background");
configSource.AddSwitch("Startup", "inifile");
configSource.AddSwitch("Startup", "inimaster");
configSource.AddSwitch("Startup", "inidirectory");
configSource.AddSwitch("Startup", "gridmode");
configSource.AddSwitch("Startup", "physics");
configSource.AddSwitch("Startup", "useexecutepath");