diff options
-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" | ||