mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Move inventory contents configuration files to bin/inventory folder
This commit is contained in:
@@ -149,10 +149,10 @@ namespace OpenSim.Grid.InventoryServer
|
||||
{
|
||||
_manager = manager;
|
||||
|
||||
_inventory = loadInventoryFromXmlFile("Inventory_Library.xml");
|
||||
_inventory = loadInventoryFromXmlFile("inventory/Inventory_Library.xml");
|
||||
if (fixupInventory(_inventory))
|
||||
{
|
||||
FileStream fs = new FileStream("Inventory_Library.xml", FileMode.Truncate, FileAccess.Write);
|
||||
FileStream fs = new FileStream("inventory/Inventory_Library.xml", FileMode.Truncate, FileAccess.Write);
|
||||
saveInventoryToStream(_inventory, fs);
|
||||
fs.Flush();
|
||||
fs.Close();
|
||||
@@ -207,4 +207,4 @@ namespace OpenSim.Grid.InventoryServer
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user