diff options
Diffstat (limited to 'OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs')
-rw-r--r-- | OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs b/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs index 38bf9bf..ea4824b 100644 --- a/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs +++ b/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs | |||
@@ -62,10 +62,10 @@ namespace OpenSim.Region.GridInterfaces.Local | |||
62 | { | 62 | { |
63 | bool yapfile; | 63 | bool yapfile; |
64 | this._assetRequests = new BlockingQueue<ARequest>(); | 64 | this._assetRequests = new BlockingQueue<ARequest>(); |
65 | yapfile = File.Exists("regionassets.yap"); | 65 | yapfile = File.Exists(Path.Combine(Util.dataDir(),"regionassets.yap")); |
66 | 66 | ||
67 | MainLog.Instance.Verbose("Local Asset Server class created"); | 67 | MainLog.Instance.Verbose("Local Asset Server class created"); |
68 | db = Db4oFactory.OpenFile("regionassets.yap"); | 68 | db = Db4oFactory.OpenFile(Path.Combine(Util.dataDir(),"regionassets.yap")); |
69 | MainLog.Instance.Verbose("Db4 Asset database creation"); | 69 | MainLog.Instance.Verbose("Db4 Asset database creation"); |
70 | 70 | ||
71 | if (!yapfile) | 71 | if (!yapfile) |