diff options
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index 7a7c843..3061e5c 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs | |||
@@ -30,13 +30,14 @@ using System; | |||
30 | using System.IO; | 30 | using System.IO; |
31 | 31 | ||
32 | using libsecondlife; | 32 | using libsecondlife; |
33 | using OpenSim.Framework.Communications.Cache; | ||
33 | using OpenSim.Framework.Configuration; | 34 | using OpenSim.Framework.Configuration; |
34 | using OpenSim.Framework.Console; | 35 | using OpenSim.Framework.Console; |
35 | using OpenSim.Framework.Servers; | 36 | using OpenSim.Framework.Servers; |
36 | using OpenSim.Framework.Configuration; | 37 | using OpenSim.Framework.Configuration; |
37 | using OpenSim.Framework.Interfaces; | 38 | using OpenSim.Framework.Interfaces; |
38 | using OpenSim.Framework.Utilities; | 39 | using OpenSim.Framework.Utilities; |
39 | using OpenSim.Framework.Communications.Caches; | 40 | |
40 | /* | 41 | /* |
41 | using System.Text; | 42 | using System.Text; |
42 | using Db4objects.Db4o; | 43 | using Db4objects.Db4o; |
@@ -114,7 +115,10 @@ namespace OpenSim.Grid.AssetServer | |||
114 | { | 115 | { |
115 | try | 116 | try |
116 | { | 117 | { |
117 | m_assetServer = new SQLAssetServer(config.DatabaseProvider); | 118 | SQLAssetServer assetServer = new SQLAssetServer(config.DatabaseProvider ); |
119 | assetServer.LoadDefaultAssets(); | ||
120 | |||
121 | m_assetServer = assetServer; | ||
118 | } | 122 | } |
119 | catch (Exception e) | 123 | catch (Exception e) |
120 | { | 124 | { |