From 599a6d32eebc451f9284db8e6abf2946f236d5e9 Mon Sep 17 00:00:00 2001 From: Brian McBee Date: Fri, 3 Aug 2007 18:01:55 +0000 Subject: Changes to prepare for future possible configuration of separate logdir, configdir, datadir. --- OpenSim/Region/GridInterfaces/Local/LocalAssetServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/GridInterfaces/Local') 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 { bool yapfile; this._assetRequests = new BlockingQueue(); - yapfile = File.Exists("regionassets.yap"); + yapfile = File.Exists(Path.Combine(Util.dataDir(),"regionassets.yap")); MainLog.Instance.Verbose("Local Asset Server class created"); - db = Db4oFactory.OpenFile("regionassets.yap"); + db = Db4oFactory.OpenFile(Path.Combine(Util.dataDir(),"regionassets.yap")); MainLog.Instance.Verbose("Db4 Asset database creation"); if (!yapfile) -- cgit v1.1