* Fixed bug reported by xyzo - region assets are now stored in "regionassets.yap", asset server assets are now in "gridassets.yap"

afrisby
Adam Frisby 2007-07-13 19:00:10 +00:00
parent a076369fa3
commit 41cd6cdfdd
2 changed files with 4 additions and 4 deletions

View File

@ -154,10 +154,10 @@ namespace OpenSim.Grid.AssetServer
public void setupDB()
{
bool yapfile = File.Exists("assets.yap");
bool yapfile = File.Exists("gridassets.yap");
try
{
db = Db4oFactory.OpenFile("assets.yap");
db = Db4oFactory.OpenFile("gridassets.yap");
MainLog.Instance.Verbose("Main.cs:setupDB() - creation");
}
catch (Exception e)

View File

@ -62,12 +62,12 @@ namespace OpenSim.Region.GridInterfaces.Local
{
bool yapfile;
this._assetRequests = new BlockingQueue<ARequest>();
yapfile = File.Exists("assets.yap");
yapfile = File.Exists("regionassets.yap");
MainLog.Instance.Verbose( "Local Asset Server class created");
try
{
db = Db4oFactory.OpenFile("assets.yap");
db = Db4oFactory.OpenFile("regionassets.yap");
MainLog.Instance.Verbose( "Db4 Asset database creation");
}
catch (Exception e)