diff options
author | Brian McBee | 2007-08-03 18:01:55 +0000 |
---|---|---|
committer | Brian McBee | 2007-08-03 18:01:55 +0000 |
commit | 599a6d32eebc451f9284db8e6abf2946f236d5e9 (patch) | |
tree | 60ca29aaa58b0cf34b5f0514c95229602036895c /OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs | |
parent | Yet another commit related to the SceneObject rewrites. (diff) | |
download | opensim-SC-599a6d32eebc451f9284db8e6abf2946f236d5e9.zip opensim-SC-599a6d32eebc451f9284db8e6abf2946f236d5e9.tar.gz opensim-SC-599a6d32eebc451f9284db8e6abf2946f236d5e9.tar.bz2 opensim-SC-599a6d32eebc451f9284db8e6abf2946f236d5e9.tar.xz |
Changes to prepare for future possible configuration of separate logdir, configdir, datadir.
Diffstat (limited to '')
-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) |