From 266d0fbaaeac0dad06da98ceda8d19b8f3d732d6 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 29 Dec 2008 16:56:48 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes * This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml * This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone) and via the user and asset config xml files for grid mode * Thanks to SirKimba for the patch --- OpenSim/Framework/ConfigSettings.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'OpenSim/Framework/ConfigSettings.cs') diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs index 02b8465..3d66311 100644 --- a/OpenSim/Framework/ConfigSettings.cs +++ b/OpenSim/Framework/ConfigSettings.cs @@ -179,5 +179,30 @@ namespace OpenSim.Framework get { return m_dumpAssetsToFile; } set { m_dumpAssetsToFile = value; } } + + protected string m_librariesXMLFile; + public string LibrariesXMLFile + { + get + { + return m_librariesXMLFile; + } + set + { + m_librariesXMLFile = value; + } + } + protected string m_assetSetsXMLFile; + public string AssetSetsXMLFile + { + get + { + return m_assetSetsXMLFile; + } + set + { + m_assetSetsXMLFile = value; + } + } } } -- cgit v1.1