aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs
diff options
context:
space:
mode:
authorBrian McBee2007-08-03 18:01:55 +0000
committerBrian McBee2007-08-03 18:01:55 +0000
commit599a6d32eebc451f9284db8e6abf2946f236d5e9 (patch)
tree60ca29aaa58b0cf34b5f0514c95229602036895c /OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs
parentYet another commit related to the SceneObject rewrites. (diff)
downloadopensim-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.cs4
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)