mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Added checks to the last commit to make sure the xml files exist before it tries to load them.
This commit is contained in:
@@ -361,8 +361,11 @@ namespace OpenSim.Region.GridInterfaces.Local
|
||||
*/
|
||||
|
||||
string filePath = Path.Combine(Util.configDir(), "OpenSimAssetSet.xml");
|
||||
if(File.Exists(filePath))
|
||||
{
|
||||
XmlConfigSource source = new XmlConfigSource(filePath);
|
||||
ReadAssetDetails(source);
|
||||
}
|
||||
}
|
||||
|
||||
protected void ReadAssetDetails(IConfigSource source)
|
||||
|
||||
Reference in New Issue
Block a user