diff options
author | Melanie Thielker | 2009-05-11 19:53:24 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-11 19:53:24 +0000 |
commit | 59175847a98a98d3341f8a81fc648043913e78cf (patch) | |
tree | e9015dc6eb687493124f4c06aec1b8efd8dea697 | |
parent | * Implements IP and DNS based ban facilities to OpenSim. (diff) | |
download | opensim-SC_OLD-59175847a98a98d3341f8a81fc648043913e78cf.zip opensim-SC_OLD-59175847a98a98d3341f8a81fc648043913e78cf.tar.gz opensim-SC_OLD-59175847a98a98d3341f8a81fc648043913e78cf.tar.bz2 opensim-SC_OLD-59175847a98a98d3341f8a81fc648043913e78cf.tar.xz |
Smooth out some .ini stuff, actually commit the example
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Servers/Asset/AssetServerConnector.cs | 2 | ||||
-rw-r--r-- | bin/OpenSim.Servers.AssetServer.ini.example | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Servers/Asset/AssetServerConnector.cs b/OpenSim/Servers/Asset/AssetServerConnector.cs index 32e27c5..0dcfb5e 100644 --- a/OpenSim/Servers/Asset/AssetServerConnector.cs +++ b/OpenSim/Servers/Asset/AssetServerConnector.cs | |||
@@ -43,7 +43,7 @@ namespace OpenSim.Servers.AssetServer | |||
43 | if (serverConfig == null) | 43 | if (serverConfig == null) |
44 | throw new Exception("No section 'Server' in config file"); | 44 | throw new Exception("No section 'Server' in config file"); |
45 | 45 | ||
46 | string assetService = serverConfig.GetString("Module", | 46 | string assetService = serverConfig.GetString("LocalServiceModule", |
47 | String.Empty); | 47 | String.Empty); |
48 | 48 | ||
49 | if (assetService == String.Empty) | 49 | if (assetService == String.Empty) |
diff --git a/bin/OpenSim.Servers.AssetServer.ini.example b/bin/OpenSim.Servers.AssetServer.ini.example new file mode 100644 index 0000000..fafb768 --- /dev/null +++ b/bin/OpenSim.Servers.AssetServer.ini.example | |||
@@ -0,0 +1,9 @@ | |||
1 | [Network] | ||
2 | port = 8003 | ||
3 | |||
4 | [AssetService] | ||
5 | LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService" | ||
6 | StorageProvider = "OpenSim.Data.MySQL.dll" | ||
7 | ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim;" | ||
8 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
9 | AssetLoaderArgs = "assets/AssetSets.xml" | ||